cvs: /php4/ext/standard config.m4
| From: | Rasmus Lerdorf | Date: | Tue, 21 Sep 1999 20:10:53 +0000 |
| Subject: | cvs: /php4/ext/standard config.m4 | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-4765@lists.php.net to get a copy of this message | ||
rasmus Tue Sep 21 16:10:53 1999 EDT
Modified files:
/php4/ext/standard config.m4
Log:
Slightly redundant to check for crypt() here again, but the TRY_RUN stuff
needs it defined in the same m4 file or it won't work, and it will just
get pulled out of the cache anyway, so it isn't a big deal.
Index: php4/ext/standard/config.m4
diff -u php4/ext/standard/config.m4:1.6 php4/ext/standard/config.m4:1.7
--- php4/ext/standard/config.m4:1.6 Tue Sep 21 11:00:22 1999
+++ php4/ext/standard/config.m4 Tue Sep 21 16:10:53 1999
@@ -1,4 +1,4 @@
-dnl $Id: config.m4,v 1.6 1999/09/21 15:00:22 sas Exp $ -*- sh -*-
+dnl $Id: config.m4,v 1.7 1999/09/21 20:10:53 rasmus Exp $ -*- sh -*-
divert(1)
@@ -113,6 +113,10 @@
AC_CHECK_LIB(bind, inet_aton, [
EXTRA_LIBS="$EXTRA_LIBS -lbind"
AC_DEFINE(HAVE_LIBBIND) ], [])
+
+AC_CHECK_LIB(crypt, crypt, [
+ AC_ADD_LIBRARY(crypt)
+ AC_DEFINE(HAVE_LIBCRYPT) ], [])
divert(3)