summaryrefslogtreecommitdiff
path: root/ext/sysvshm
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/sysvshm
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/sysvshm')
-rw-r--r--ext/sysvshm/config.h.stub3
-rw-r--r--ext/sysvshm/config.m46
2 files changed, 3 insertions, 6 deletions
diff --git a/ext/sysvshm/config.h.stub b/ext/sysvshm/config.h.stub
deleted file mode 100644
index 9b5f5e35cb..0000000000
--- a/ext/sysvshm/config.h.stub
+++ /dev/null
@@ -1,3 +0,0 @@
-/* Define if you want System V shared memory support.
- */
-#define HAVE_SYSVSHM 0
diff --git a/ext/sysvshm/config.m4 b/ext/sysvshm/config.m4
index 287841f26d..17c7699dcf 100644
--- a/ext/sysvshm/config.m4
+++ b/ext/sysvshm/config.m4
@@ -4,14 +4,14 @@ AC_MSG_CHECKING(whether to enable System V shared memory support)
AC_ARG_ENABLE(sysvshm,
[ --enable-sysvshm Enable the System V shared memory support],[
if test "$enableval" = "yes"; then
- AC_DEFINE(HAVE_SYSVSHM, 1)
+ AC_DEFINE(HAVE_SYSVSHM, 1, [ ])
AC_MSG_RESULT(yes)
PHP_EXTENSION(sysvshm)
else
- AC_DEFINE(HAVE_SYSVSHM, 0)
+ AC_DEFINE(HAVE_SYSVSHM, 0, [ ])
AC_MSG_RESULT(no)
fi
],[
- AC_DEFINE(HAVE_SYSVSHM, 0)
+ AC_DEFINE(HAVE_SYSVSHM, 0, [ ])
AC_MSG_RESULT(no)
])