2
dnl $Id: config.m4,v 1.5 2002/03/12 16:36:40 sas Exp $
5
PHP_ARG_ENABLE(sysvsem,whether to enable System V semaphore support,
6
[ --enable-sysvsem Enable System V semaphore support.])
8
if test "$PHP_SYSVSEM" != "no"; then
9
PHP_NEW_EXTENSION(sysvsem, sysvsem.c, $ext_shared)
10
AC_DEFINE(HAVE_SYSVSEM, 1, [ ])
11
AC_CACHE_CHECK(for union semun,php_cv_semun,
13
#include <sys/types.h>
24
if test "$php_cv_semun" = "yes"; then
25
AC_DEFINE(HAVE_SEMUN, 1, [ ])
27
AC_DEFINE(HAVE_SEMUN, 0, [ ])