mirror of
https://github.com/php/php-src.git
synced 2025-08-19 08:49:28 +02:00

what the respective define does into the AC_DEFINE macro. I.e. AC_DEFINE(HAVE_FOO, 1, [Whether you have FOO])
17 lines
426 B
Text
17 lines
426 B
Text
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)
|
|
])
|