mirror of
https://github.com/php/php-src.git
synced 2024-12-18 06:21:41 +08:00
Make sysvshm buildable as shared module
This commit is contained in:
parent
8d2d181e69
commit
a4d401a67d
@ -1,5 +1,6 @@
|
||||
|
||||
LTLIBRARY_NAME = libsysvshm.la
|
||||
LTLIBRARY_SOURCES = sysvshm.c
|
||||
LTLIBRARY_SHARED_NAME = sysvshm.la
|
||||
|
||||
include $(top_srcdir)/build/dynlib.mk
|
||||
|
@ -1,17 +1,9 @@
|
||||
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)
|
||||
])
|
||||
PHP_ARG_ENABLE(sysvshm,whether to enable System V shared memory support,
|
||||
[ --enable-sysvshm Enable the System V shared memory support])
|
||||
|
||||
if test "$PHP_SYSVSHM" != "no"; then
|
||||
AC_DEFINE(HAVE_SYSVSHM, 1, [ ])
|
||||
PHP_EXTENSION(sysvshm, $ext_shared)
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user