CVS update: php3
| From: | rasmus | Date: | Mon, 21 Sep 1998 19:49:16 +0000 |
| Subject: | CVS update: php3 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-1334@lists.php.net to get a copy of this message | ||
Date: Monday September 21, 1998 @ 15:49
Author: rasmus
Update of /repository/php3
In directory asf:/u2/tmp/cvs-serv3631
Modified Files:
aclocal.m4
Log Message:
Running out of ideas here. I don't understand why the first 2 tests
work fine and the second 2 fail when run from configure, but all 4 work
perfectly when run outside of configure.
Index: php3/aclocal.m4
diff -c php3/aclocal.m4:1.21 php3/aclocal.m4:1.22
*** php3/aclocal.m4:1.21 Mon Sep 21 14:23:11 1998
--- php3/aclocal.m4 Mon Sep 21 15:49:15 1998
***************
*** 1,4 ****
! dnl $Id: aclocal.m4,v 1.21 1998/09/21 18:23:11 rasmus Exp $
dnl
dnl This file contains local autoconf functions.
--- 1,4 ----
! dnl $Id: aclocal.m4,v 1.22 1998/09/21 19:49:15 rasmus Exp $
dnl
dnl This file contains local autoconf functions.
***************
*** 149,155 ****
AC_MSG_CHECKING([for MD5 crypt])
AC_TRY_RUN([
main() {
! exit (strcmp((char
*)crypt("rasmuslerdorf","$1$rasmu"),"$1$rasmu$Fqw49PVuukVZSt4TylIiu."));
}],[
AC_DEFINE(MD5_CRYPT,1)
AC_MSG_RESULT(ok)
--- 149,155 ----
AC_MSG_CHECKING([for MD5 crypt])
AC_TRY_RUN([
main() {
! exit (strcmp((char
*)crypt("rasmuslerdorf","$1$rasmusle$"),"$1$rasmusle$rISCgZzpwk3UhDidwXvin0"));
}],[
AC_DEFINE(MD5_CRYPT,1)
AC_MSG_RESULT(ok)
***************
*** 158,163 ****
--- 158,178 ----
AC_MSG_RESULT(fail)
],[
AC_DEFINE(MD5_CRYPT,0)
+ AC_MSG_RESULT(cannot check, guessing fail)
+ ])
+
+ AC_MSG_CHECKING([for Blowfish crypt])
+ AC_TRY_RUN([
+ main() {
+ exit (strcmp((char
*)crypt("rasmuslerdorf","$2a$07$rasmuslerdorf"),"$2a$07$rasmuslerdor..........mSZzvO8z3s/MMTixItx1MGqktlZgPja"));
+ }],[
+ AC_DEFINE(BLOW_CRYPT,1)
+ AC_MSG_RESULT(ok)
+ ],[
+ AC_DEFINE(BLOW_CRYPT,0)
+ AC_MSG_RESULT(fail)
+ ],[
+ AC_DEFINE(BLOW_CRYPT,0)
AC_MSG_RESULT(cannot check, guessing fail)
])
])
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net