summaryrefslogtreecommitdiff
path: root/ext/pcre/config.m4
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>1999-12-30 04:07:46 +0000
committerSascha Schumann <sas@php.net>1999-12-30 04:07:46 +0000
commit2c99bef442d71a455628628e932daf26aaec8a46 (patch)
treef4a7ca3e976ff07d3d6a730bded4ed1598b6ff8d /ext/pcre/config.m4
parente3af8ed3217b0a3bd46382e523bb12cfdc12e230 (diff)
downloadphp-git-2c99bef442d71a455628628e932daf26aaec8a46.tar.gz
Get rid of config.h.stub. Note that you should embed a comment about
what the respective define does into the AC_DEFINE macro. I.e. AC_DEFINE(HAVE_FOO, 1, [Whether you have FOO])
Diffstat (limited to 'ext/pcre/config.m4')
-rw-r--r--ext/pcre/config.m48
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/pcre/config.m4 b/ext/pcre/config.m4
index 5105fe4bfe..9592bc0e2b 100644
--- a/ext/pcre/config.m4
+++ b/ext/pcre/config.m4
@@ -18,7 +18,7 @@ AC_ARG_WITH(pcre-regex,
yes)
EXTRA_LIBS="-L$abs_builddir/ext/pcre/pcrelib -lpcre $EXTRA_LIBS"
PCRE_SUBDIR="pcrelib"
- AC_DEFINE(HAVE_BUNDLED_PCRE, 1)
+ AC_DEFINE(HAVE_BUNDLED_PCRE, 1, [ ])
AC_MSG_RESULT(yes)
PHP_EXTENSION(pcre)
PHP_FAST_OUTPUT(ext/pcre/pcrelib/Makefile)
@@ -45,7 +45,7 @@ AC_ARG_WITH(pcre-regex,
AC_MSG_ERROR(Could not find libpcre.a in $withval)
fi
- AC_DEFINE(HAVE_PCRE, 1)
+ AC_DEFINE(HAVE_PCRE, 1, [ ])
AC_MSG_RESULT(yes)
PHP_EXTENSION(pcre)
;;
@@ -53,7 +53,7 @@ AC_ARG_WITH(pcre-regex,
],[
PCRE_LIBADD=pcrelib/libpcre.la
PCRE_SUBDIRS=pcrelib
- AC_DEFINE(HAVE_BUNDLED_PCRE, 1)
+ AC_DEFINE(HAVE_BUNDLED_PCRE, 1, [ ])
AC_MSG_RESULT(yes)
PHP_EXTENSION(pcre)
PHP_FAST_OUTPUT(ext/pcre/pcrelib/Makefile)
@@ -61,4 +61,4 @@ AC_ARG_WITH(pcre-regex,
PHP_SUBST(PCRE_LIBADD)
PHP_SUBST(PCRE_SUBDIRS)
-AC_CHECK_FUNC(memmove, [], [AC_DEFINE(USE_BCOPY, 1)])
+AC_CHECK_FUNC(memmove, [], [AC_DEFINE(USE_BCOPY, 1, [ ])])