xref: /PHP-8.0/ext/sysvmsg/config.m4 (revision 75fb7486)
1PHP_ARG_ENABLE([sysvmsg],
2  [whether to enable System V IPC support],
3  [AS_HELP_STRING([--enable-sysvmsg],
4    [Enable sysvmsg support])])
5
6if test "$PHP_SYSVMSG" != "no"; then
7  AC_CHECK_HEADER([sys/msg.h],
8    [],
9    [AC_MSG_ERROR([Cannot enable System V IPC support, sys/msg.h is missing])
10  ])
11
12  AC_DEFINE(HAVE_SYSVMSG, 1, [ ])
13  PHP_NEW_EXTENSION(sysvmsg, sysvmsg.c, $ext_shared)
14fi
15