From 2472700dd1adc12854f336d25c2c30d113ef98bc Mon Sep 17 00:00:00 2001 From: Sascha Schumann Date: Tue, 23 May 2000 09:09:11 +0000 Subject: [PATCH] Only print the attention thing, if the MD5 and DES checks failed. --- ext/standard/config.m4 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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]) -- 2.50.1