From: Sascha Schumann Date: Tue, 23 May 2000 09:09:11 +0000 (+0000) Subject: Only print the attention thing, if the MD5 and DES checks failed. X-Git-Tag: PRE_EIGHT_BYTE_ALLOC_PATCH~332 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2472700dd1adc12854f336d25c2c30d113ef98bc;p=php Only print the attention thing, if the MD5 and DES checks failed. --- diff --git a/ext/standard/config.m4 b/ext/standard/config.m4 index 7016318cbe..7bc4b47d9a 100644 --- a/ext/standard/config.m4 +++ b/ext/standard/config.m4 @@ -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])