mirror of
https://github.com/php/php-src.git
synced 2026-04-02 21:52:36 +02:00
The m4_normalize is for Autoconf < 2.70 (on 2.70 and later versions a blank-or-newline separated items can be expanded without using backslash-newline). The order of headers in configure.ac is left as is because the first few headers depend on checking other headers (for those includes the 4th argument).
13 lines
381 B
Plaintext
13 lines
381 B
Plaintext
PHP_ARG_ENABLE([sysvmsg],
|
|
[whether to enable System V IPC support],
|
|
[AS_HELP_STRING([--enable-sysvmsg],
|
|
[Enable sysvmsg support])])
|
|
|
|
if test "$PHP_SYSVMSG" != "no"; then
|
|
AC_CHECK_HEADER([sys/msg.h],,
|
|
[AC_MSG_ERROR([Cannot enable System V IPC support, sys/msg.h is missing])])
|
|
|
|
AC_DEFINE(HAVE_SYSVMSG, 1, [ ])
|
|
PHP_NEW_EXTENSION(sysvmsg, sysvmsg.c, $ext_shared)
|
|
fi
|