]> granicus.if.org Git - php/commitdiff
Remove PHP_DEBUG_MACRO
authorPeter Kokot <peterkokot@gmail.com>
Sun, 7 Jul 2019 04:11:10 +0000 (06:11 +0200)
committerPeter Kokot <peterkokot@gmail.com>
Sun, 7 Jul 2019 10:15:36 +0000 (12:15 +0200)
The macro is no longer used. The warning at the end of the configure
script therefore is also no longer used.

build/php.m4
configure.ac

index b53f10e2a5f10e56ad7db128de97234fd0c6915c..5cc520d0efbfc7b92817522e56df3b3539e39731 100644 (file)
@@ -2117,37 +2117,6 @@ IFS="- /.
   APACHE_VERSION=`expr [$]4 \* 1000000 + [$]5 \* 1000 + [$]6`
 ])
 
-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
index 408e148fdda0416a583e07afb0009af2807405b7..741406503e4b6aa15aebcd19b453b43ccb268514 100644 (file)
@@ -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