]> granicus.if.org Git - php/commitdiff
Only print the attention thing, if the MD5 and DES checks failed.
authorSascha Schumann <sas@php.net>
Tue, 23 May 2000 09:09:11 +0000 (09:09 +0000)
committerSascha Schumann <sas@php.net>
Tue, 23 May 2000 09:09:11 +0000 (09:09 +0000)
ext/standard/config.m4

index 7016318cbe390bf5c4903039e23f48386c034e0d..7bc4b47d9aa61f00f83d86c9ae966371b42f38fa 100644 (file)
@@ -26,7 +26,6 @@ main() {
   if test "$ac_cv_crypt_des" = "yes"; then
     ac_result=1
   else
-    PHP_DEBUG_MACRO(debug.log)
     ac_result=0
   fi
   AC_DEFINE_UNQUOTED(PHP_STD_DES_CRYPT, $ac_result, [Whether the system supports standard DES salt])
@@ -82,6 +81,9 @@ main() {
   if test "$ac_cv_crypt_md5" = "yes"; then
     ac_result=1
   else
+    if test "$ac_cv_crypt_des" != "yes"; then
+      PHP_DEBUG_MACRO(debug.log)
+    fi
     ac_result=0
   fi
   AC_DEFINE_UNQUOTED(PHP_MD5_CRYPT, $ac_result, [Whether the system supports MD5 salt])