sinclude(dynlib.m4)
+AC_DEFUN(PHP_DEBUG_MACRO,[
+ DEBUG_LOG="$1"
+ cat >$1 <<X
+CONFIGURE: $CONFIGURE_COMMAND
+CC: $CC
+CFLAGS: $CFLAGS
+CPPFLAGS: $CPPFLAGS
+CXX: $CXX
+CXXFLAGS: $CXXFLAGS
+INCLUDES: $INCLUDES
+LDFLAGS: $LDFLAGS
+LIBS: $LIBS
+DLIBS: $DLIBS
+SAPI: $PHP_SAPI
+PHP_RPATHS: $PHP_RPATHS
+uname -a: `uname -a`
+
+X
+ cat >conftest.$ac_ext <<X
+main()
+{
+ exit(0);
+}
+X
+ (eval echo \"$ac_link\"; eval $ac_link && ./conftest) >>$1 2>&1
+ rm -fr conftest*
+])
+
AC_DEFUN(PHP_MISSING_TIME_R_DECL,[
AC_MSG_CHECKING(for missing declarations of reentrant functions)
AC_TRY_COMPILE([#include <time.h>],[struct tm *(*func)() = localtime_r],[
fi
fi
+
+ if test -n "$DEBUG_LOG"; then
+ rm -f config.cache
+cat <<X
++--------------------------------------------------------------------+
+| ATTENTION! |
+| Something is likely to be screwed up here, because the configure |
+| script was not able to detect a simple feature on your platform. |
+| This is often caused by incorrect configuration parameters. Please |
+| see the file debug.log for error messages. |
+| |
+| If you are unable to fix this, send the file debug.log to the |
+| php-install@lists.php.net mailing list and include appropiate |
+| information about your setup. |
+X
+ fi
+
echo "+--------------------------------------------------------------------+"
echo "| License: |"
echo "| This software is subject to the PHP License, available in this |"
echo "| the installation process at this point. |"
echo "+--------------------------------------------------------------------+"
+cat<<X
+
+Thank you for using PHP.
+
+X
+
fi
])
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])