Possible fix for bugs #10194, #9177
| From: | Jani Taskinen | Date: | Sat, 07 Apr 2001 02:54:43 +0000 |
| Subject: | Possible fix for bugs #10194, #9177 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-51086@lists.php.net to get a copy of this message | ||
This fixes the MD5 problem for me at least.
I will commit this patch tomorrow if nobody objects
before that.
--Jani
Index: configure.in
===================================================================
RCS file: /repository/php4/configure.in,v
retrieving revision 1.230
diff -u -r1.230 configure.in
--- configure.in 2001/04/06 16:01:20 1.230
+++ configure.in 2001/04/07 02:48:46
@@ -240,10 +240,6 @@
fi
-AC_CHECK_LIB(crypt, crypt, [
- PHP_ADD_LIBRARY(crypt)
- AC_DEFINE(HAVE_LIBCRYPT,1,[ ]) ], [])
-
AC_CHECK_LIB(dl, dlopen,[PHP_ADD_LIBRARY(dl)])
dnl The sin may be in a library which need not be specifed
@@ -599,6 +595,12 @@
PEAR_DIR=pear
fi
+
+AC_CHECK_LIB(crypt, crypt, [
+ PHP_ADD_LIBRARY(crypt)
+ AC_DEFINE(HAVE_LIBCRYPT,1,[ ])
+ AC_DEFINE(HAVE_CRYPT,1,[ ])
+], [])
divert(5)