Skip to content
Browse files

Clean up acconfig.h

  • Loading branch information...
1 parent 0395517 commit b4e48b952ef8c76f8652f2ca7935a6d852cea306 Sascha Schumann committed Jun 8, 2000
Showing with 3 additions and 27 deletions.
  1. +3 −3 Zend/Zend.m4
  2. +0 −24 Zend/acconfig.h
View
6 Zend/Zend.m4
@@ -135,19 +135,19 @@ AC_MSG_CHECKING(whether to enable Zend debugging)
AC_MSG_RESULT($ZEND_DEBUG)
if test "$ZEND_DEBUG" = "yes"; then
- AC_DEFINE(ZEND_DEBUG,1)
+ AC_DEFINE(ZEND_DEBUG,1,[ ])
echo " $CFLAGS" | grep ' -g' >/dev/null || DEBUG_CFLAGS="-g"
test -n "$GCC" && DEBUG_CFLAGS="$DEBUG_CFLAGS -Wall"
test -n "$GCC" && test "$USE_MAINTAINER_MODE" = "yes" && \
DEBUG_CFLAGS="$DEBUG_CFLAGS -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations"
else
- AC_DEFINE(ZEND_DEBUG,0)
+ AC_DEFINE(ZEND_DEBUG,0,[ ])
fi
test -n "$DEBUG_CFLAGS" && CFLAGS="$CFLAGS $DEBUG_CFLAGS"
if test "$ZEND_EXPERIMENTAL_ZTS" = "yes"; then
- AC_DEFINE(ZTS)
+ AC_DEFINE(ZTS,1,[ ])
ZEND_SCANNER_TYPE=cc
CPPFLAGS="$CPPFLAGS -I../TSRM"
LIBZEND_CPLUSPLUS_CHECKS
View
24 Zend/acconfig.h
@@ -3,37 +3,16 @@
@TOP@
-/* This is the default configuration file to read */
-#define USE_CONFIG_FILE 1
-
/* these are defined by automake */
#undef PACKAGE
#undef VERSION
-/* define uint by configure if it is missed (QNX and BSD derived) */
#undef uint
-
-/* define ulong by configure if it is missed (most probably is) */
#undef ulong
-/* Undefine if you want stricter XML/SGML compliance by default */
-/* (this disables "<?expression?>" by default) */
-#define T_DEFAULT_SHORT_OPEN_TAG 1
-
-/* Define both of these if you want the bundled REGEX library */
-#define REGEX 0
-#define HSREGEX 0
-
-#undef ZEND_DEBUG
-
/* Define if you want to enable memory limit support */
#define MEMORY_LIMIT 0
-/* Define to compile Zend thread safe */
-#undef ZTS
-
-#undef HAVE_LIBDL
-
@BOTTOM@
#ifdef HAVE_STDLIB_H
@@ -50,9 +29,6 @@
# include <strings.h>
#endif
-/* Define if you have stdiostream.h */
-#undef HAVE_STDIOSTREAM_H
-
#if ZEND_BROKEN_SPRINTF
int zend_sprintf(char *buffer, const char *format, ...);
#else

0 comments on commit b4e48b9

Please sign in to comment.
Something went wrong with that request. Please try again.