Index: configure
--- configure.orig
+++ configure
@@ -27758,8 +27758,8 @@ fi
 		;;
 	(*)
 
-echo "$as_me:27761: checking for crypt function" >&5
-echo $ECHO_N "checking for crypt function... $ECHO_C" >&6
+echo "$as_me:27761: checking for broken_crypt function" >&5
+echo $ECHO_N "checking for broken_crypt function... $ECHO_C" >&6
 if test "${cf_cv_crypt_func+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
@@ -27776,7 +27776,7 @@ $cf_crypt_headers
 int
 main (void)
 {
-crypt("","")
+broken_crypt("","")
   ;
   return 0;
 }
@@ -27808,7 +27808,7 @@ $cf_crypt_headers
 int
 main (void)
 {
-crypt("","")
+broken_crypt("","")
   ;
   return 0;
 }
@@ -27845,8 +27845,8 @@ echo "${ECHO_T}$cf_cv_crypt_func" >&6
 if test "$cf_cv_crypt_func" != no ; then
 	cf_save_LIBS="$LIBS"
 	test "$cf_cv_crypt_func" != yes && LIBS="$cf_cv_crypt_func $LIBS"
-echo "$as_me:27848: checking if crypt works" >&5
-echo $ECHO_N "checking if crypt works... $ECHO_C" >&6
+echo "$as_me:27848: checking if broken_crypt works" >&5
+echo $ECHO_N "checking if broken_crypt works... $ECHO_C" >&6
 if test "${cf_cv_crypt_works+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
@@ -27861,7 +27861,7 @@ else
 $cf_crypt_headers
 
 int main(void) {
-	char *s = crypt("vi-crypt", "vi");
+	char *s = broken_crypt("vi-crypt", "vi");
 	${cf_cv_main_return:-return}(strcmp("vi6r2tczBYLvM", s ? s : "") != 0);
 }
 
@@ -32925,7 +32925,7 @@ alarm \
 atoi \
 chdir \
 close \
-crypt \
+broken_crypt \
 dup \
 execlp \
 fclose \
