diff options
author | Peter Kokot <peterkokot@gmail.com> | 2019-07-07 06:11:10 +0200 |
---|---|---|
committer | Peter Kokot <peterkokot@gmail.com> | 2019-07-07 12:15:36 +0200 |
commit | 3bde4838f47c4800ac4b9efb23e320d9fdcec638 (patch) | |
tree | 930a3014c991eb1c9e2e92157062c9b2c172c904 | |
parent | 49cc2a63b31f9b749f1fb3b26f568ad87c3ff17d (diff) | |
download | php-git-3bde4838f47c4800ac4b9efb23e320d9fdcec638.tar.gz |
Remove PHP_DEBUG_MACRO
The macro is no longer used. The warning at the end of the configure
script therefore is also no longer used.
-rw-r--r-- | build/php.m4 | 31 | ||||
-rw-r--r-- | configure.ac | 17 |
2 files changed, 0 insertions, 48 deletions
diff --git a/build/php.m4 b/build/php.m4 index b53f10e2a5..5cc520d0ef 100644 --- a/build/php.m4 +++ b/build/php.m4 @@ -2118,37 +2118,6 @@ IFS="- /. ]) dnl -dnl PHP_DEBUG_MACRO(filename) -dnl -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* -]) - -dnl dnl PHP_CONFIG_NICE(filename) dnl dnl This macro creates script file with given filename which includes the last diff --git a/configure.ac b/configure.ac index 408e148fdd..741406503e 100644 --- a/configure.ac +++ b/configure.ac @@ -1636,23 +1636,6 @@ if test -n "\$REDO_ALL"; then cli_extensions="$EXT_CLI_STATIC" sh $srcdir/build/genif.sh $srcdir/main/internal_functions.c.in $srcdir "$EXTRA_MODULE_PTRS" $AWK \$cli_extensions > main/internal_functions_cli.c - if test -n "$DEBUG_LOG"; then - rm -f config.cache -cat <<X -+--------------------------------------------------------------------+ -| *** ATTENTION *** | -| | -| Something is likely to be messed 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 appropriate | -| information about your setup. | -X - fi - if test "$PHP_SAPI" = "apache2handler"; then if test "$APACHE_VERSION" -ge 2004001; then if test -z "$APACHE_THREADED_MPM"; then |