Skip to content

Commit b4e48b9

Browse files
author
Sascha Schumann
committed
Clean up acconfig.h
1 parent 0395517 commit b4e48b9

File tree

2 files changed

+3
-27
lines changed

2 files changed

+3
-27
lines changed

Zend/Zend.m4

+3-3
Original file line numberDiff line numberDiff line change
@@ -135,19 +135,19 @@ AC_MSG_CHECKING(whether to enable Zend debugging)
135135
AC_MSG_RESULT($ZEND_DEBUG)
136136
137137
if test "$ZEND_DEBUG" = "yes"; then
138-
AC_DEFINE(ZEND_DEBUG,1)
138+
AC_DEFINE(ZEND_DEBUG,1,[ ])
139139
echo " $CFLAGS" | grep ' -g' >/dev/null || DEBUG_CFLAGS="-g"
140140
test -n "$GCC" && DEBUG_CFLAGS="$DEBUG_CFLAGS -Wall"
141141
test -n "$GCC" && test "$USE_MAINTAINER_MODE" = "yes" && \
142142
DEBUG_CFLAGS="$DEBUG_CFLAGS -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations"
143143
else
144-
AC_DEFINE(ZEND_DEBUG,0)
144+
AC_DEFINE(ZEND_DEBUG,0,[ ])
145145
fi
146146
147147
test -n "$DEBUG_CFLAGS" && CFLAGS="$CFLAGS $DEBUG_CFLAGS"
148148
149149
if test "$ZEND_EXPERIMENTAL_ZTS" = "yes"; then
150-
AC_DEFINE(ZTS)
150+
AC_DEFINE(ZTS,1,[ ])
151151
ZEND_SCANNER_TYPE=cc
152152
CPPFLAGS="$CPPFLAGS -I../TSRM"
153153
LIBZEND_CPLUSPLUS_CHECKS

Zend/acconfig.h

-24
Original file line numberDiff line numberDiff line change
@@ -3,37 +3,16 @@
33

44
@TOP@
55

6-
/* This is the default configuration file to read */
7-
#define USE_CONFIG_FILE 1
8-
96
/* these are defined by automake */
107
#undef PACKAGE
118
#undef VERSION
129

13-
/* define uint by configure if it is missed (QNX and BSD derived) */
1410
#undef uint
15-
16-
/* define ulong by configure if it is missed (most probably is) */
1711
#undef ulong
1812

19-
/* Undefine if you want stricter XML/SGML compliance by default */
20-
/* (this disables "<?expression?>" by default) */
21-
#define T_DEFAULT_SHORT_OPEN_TAG 1
22-
23-
/* Define both of these if you want the bundled REGEX library */
24-
#define REGEX 0
25-
#define HSREGEX 0
26-
27-
#undef ZEND_DEBUG
28-
2913
/* Define if you want to enable memory limit support */
3014
#define MEMORY_LIMIT 0
3115

32-
/* Define to compile Zend thread safe */
33-
#undef ZTS
34-
35-
#undef HAVE_LIBDL
36-
3716
@BOTTOM@
3817

3918
#ifdef HAVE_STDLIB_H
@@ -50,9 +29,6 @@
5029
# include <strings.h>
5130
#endif
5231

53-
/* Define if you have stdiostream.h */
54-
#undef HAVE_STDIOSTREAM_H
55-
5632
#if ZEND_BROKEN_SPRINTF
5733
int zend_sprintf(char *buffer, const char *format, ...);
5834
#else

0 commit comments

Comments
 (0)