summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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])