summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2000-05-23 09:09:11 +0000
committerSascha Schumann <sas@php.net>2000-05-23 09:09:11 +0000
commit2472700dd1adc12854f336d25c2c30d113ef98bc (patch)
tree922282bd7bb7dbbdf593e10743257bba4763f1b3
parent08bd9586fb0085a7796d698a66953e968a63520f (diff)
downloadphp-git-2472700dd1adc12854f336d25c2c30d113ef98bc.tar.gz
Only print the attention thing, if the MD5 and DES checks failed.
-rw-r--r--ext/standard/config.m44
1 files changed, 3 insertions, 1 deletions
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])