php-src/ext/sysvshm/config.m4
Sascha Schumann 2c99bef442 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])
1999-12-30 04:07:46 +00:00

18 lines
426 B
Plaintext

dnl $Id$
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_MSG_RESULT(yes)
PHP_EXTENSION(sysvshm)
else
AC_DEFINE(HAVE_SYSVSHM, 0, [ ])
AC_MSG_RESULT(no)
fi
],[
AC_DEFINE(HAVE_SYSVSHM, 0, [ ])
AC_MSG_RESULT(no)
])