diff --git a/.gitignore b/.gitignore index 48ef4c7ecbb81..2f47727786348 100644 --- a/.gitignore +++ b/.gitignore @@ -99,7 +99,6 @@ config.h.in /main/build-defs.h /main/php_config.h.in /main/php_config.h -/Zend/zend_config.h # ------------------------------------------------------------------------------ # Manual (man 1 and 8) pages generated from templates for *nix alike systems diff --git a/Zend/zend_portability.h b/Zend/zend_portability.h index 89173642d2250..6e019b1491946 100644 --- a/Zend/zend_portability.h +++ b/Zend/zend_portability.h @@ -37,10 +37,8 @@ # include "zend_config.w32.h" # define ZEND_PATHS_SEPARATOR ';' #elif defined(__riscos__) -# include # define ZEND_PATHS_SEPARATOR ';' #else -# include # define ZEND_PATHS_SEPARATOR ':' #endif @@ -122,8 +120,6 @@ #define zend_quiet_write(...) ZEND_IGNORE_VALUE(write(__VA_ARGS__)) -/* all HAVE_XXX test have to be after the include of zend_config above */ - #if defined(HAVE_LIBDL) && !defined(ZEND_WIN32) # if __has_feature(address_sanitizer) diff --git a/build/Makefile.global b/build/Makefile.global index 82e0d69f35e30..a0cff760d1b1d 100644 --- a/build/Makefile.global +++ b/build/Makefile.global @@ -118,7 +118,7 @@ clean: rm -f libphp$(PHP_MAJOR_VERSION).la $(SAPI_CLI_PATH) $(SAPI_CGI_PATH) $(SAPI_LITESPEED_PATH) $(SAPI_FPM_PATH) $(OVERALL_TARGET) modules/* libs/* distclean: clean - rm -f Makefile config.cache config.log config.status Makefile.objects Makefile.fragments libtool main/php_config.h main/internal_functions_cli.c main/internal_functions.c Zend/zend_dtrace_gen.h Zend/zend_dtrace_gen.h.bak Zend/zend_config.h + rm -f Makefile config.cache config.log config.status Makefile.objects Makefile.fragments libtool main/php_config.h main/internal_functions_cli.c main/internal_functions.c Zend/zend_dtrace_gen.h Zend/zend_dtrace_gen.h.bak rm -f main/build-defs.h scripts/phpize rm -f ext/date/lib/timelib_config.h ext/mbstring/libmbfl/config.h ext/oci8/oci8_dtrace_gen.h ext/oci8/oci8_dtrace_gen.h.bak rm -f scripts/man1/phpize.1 scripts/php-config scripts/man1/php-config.1 sapi/cli/php.1 sapi/cgi/php-cgi.1 sapi/phpdbg/phpdbg.1 ext/phar/phar.1 ext/phar/phar.phar.1 diff --git a/configure.ac b/configure.ac index 4ebb320c3d4d5..811326b5aefea 100644 --- a/configure.ac +++ b/configure.ac @@ -1606,14 +1606,6 @@ if test "\$CONFIG_FILES" = "$ALL_OUTPUT_FILES" || test "\$CONFIG_FILES" = " $ALL REDO_ALL=yes fi -dnl Create configuration headers. -dnl ---------------------------------------------------------------------------- -test -d Zend || $php_shtool mkdir Zend - -cat >Zend/zend_config.h < -FEO - dnl Run this only when generating all the files. if test -n "\$REDO_ALL"; then echo "creating main/internal_functions.c" diff --git a/ext/opcache/ZendAccelerator.h b/ext/opcache/ZendAccelerator.h index a0df1c148a2e6..5a0b486d0ffb3 100644 --- a/ext/opcache/ZendAccelerator.h +++ b/ext/opcache/ZendAccelerator.h @@ -39,7 +39,7 @@ #if ZEND_WIN32 # include "zend_config.w32.h" #else -#include "zend_config.h" +# include "php_config.h" # include # include #endif