summaryrefslogtreecommitdiff
path: root/ext/sysvshm/config.m4
blob: 17c7699dcf7cfcfe7ebe1d0e6ca2c706dc2fe646 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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)
])