File tree Expand file tree Collapse file tree 7 files changed +7
-28
lines changed Expand file tree Collapse file tree 7 files changed +7
-28
lines changed Original file line number Diff line number Diff line change @@ -99,7 +99,6 @@ config.h.in
99
99
/main /build-defs.h
100
100
/main /php_config.h.in
101
101
/main /php_config.h
102
- /Zend /zend_config.h
103
102
104
103
# ------------------------------------------------------------------------------
105
104
# Manual (man 1 and 8) pages generated from templates for *nix alike systems
Original file line number Diff line number Diff line change 37
37
# include "zend_config.w32.h"
38
38
# define ZEND_PATHS_SEPARATOR ';'
39
39
#elif defined(__riscos__ )
40
- # include <zend_config.h>
41
40
# define ZEND_PATHS_SEPARATOR ';'
42
41
#else
43
- # include <zend_config.h>
44
42
# define ZEND_PATHS_SEPARATOR ':'
45
43
#endif
46
44
122
120
123
121
#define zend_quiet_write (...) ZEND_IGNORE_VALUE(write(__VA_ARGS__))
124
122
125
- /* all HAVE_XXX test have to be after the include of zend_config above */
126
-
127
123
#if defined(HAVE_LIBDL ) && !defined(ZEND_WIN32 )
128
124
129
125
# if __has_feature (address_sanitizer )
Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ clean:
118
118
rm -f libphp$(PHP_MAJOR_VERSION).la $(SAPI_CLI_PATH) $(SAPI_CGI_PATH) $(SAPI_LITESPEED_PATH) $(SAPI_FPM_PATH) $(OVERALL_TARGET) modules/* libs/*
119
119
120
120
distclean: clean
121
- 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
121
+ 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
122
122
rm -f main/build-defs.h scripts/phpize
123
123
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
124
124
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
Original file line number Diff line number Diff line change @@ -1615,17 +1615,6 @@ if test "\$CONFIG_FILES" = "$ALL_OUTPUT_FILES" || test "\$CONFIG_FILES" = " $ALL
1615
1615
REDO_ALL=yes
1616
1616
fi
1617
1617
1618
- dnl Create configuration headers.
1619
- dnl ----------------------------------------------------------------------------
1620
- test -d Zend || $php_shtool mkdir Zend
1621
-
1622
- cat >Zend/zend_config.h <<FEO
1623
- #include <../main/php_config.h>
1624
- #if defined(APACHE) && defined(PHP_API_VERSION)
1625
- #undef HAVE_DLFCN_H
1626
- #endif
1627
- FEO
1628
-
1629
1618
dnl Run this only when generating all the files.
1630
1619
if test -n "\$REDO_ALL"; then
1631
1620
echo "creating main/internal_functions.c"
Original file line number Diff line number Diff line change 39
39
#if ZEND_WIN32
40
40
# include "zend_config.w32.h"
41
41
#else
42
- #include "zend_config .h"
42
+ # include "php_config .h"
43
43
# include <sys/time.h>
44
44
# include <sys/resource.h>
45
45
#endif
Original file line number Diff line number Diff line change 25
25
26
26
#include "url.h"
27
27
#include "file.h"
28
+
28
29
#ifdef _OSD_POSIX
29
- #ifndef APACHE
30
- #error On this EBCDIC platform, PHP is only supported as an Apache module.
31
- #else /*APACHE*/
32
- #ifndef CHARSET_EBCDIC
33
- #define CHARSET_EBCDIC /* this machine uses EBCDIC, not ASCII! */
34
- #endif
35
- #include "ebcdic.h"
36
- #endif /*APACHE*/
30
+ # ifndef CHARSET_EBCDIC
31
+ # define CHARSET_EBCDIC /* this machine uses EBCDIC, not ASCII! */
32
+ # endif
33
+ # include "ebcdic.h"
37
34
#endif /*_OSD_POSIX*/
38
35
39
36
/* {{{ free_url
Original file line number Diff line number Diff line change @@ -128,8 +128,6 @@ typedef int pid_t;
128
128
#endif
129
129
#include <assert.h>
130
130
131
- #define APACHE 0
132
-
133
131
#if HAVE_UNIX_H
134
132
#include <unix.h>
135
133
#endif
You can’t perform that action at this time.
0 commit comments