1dnl config.m4 for extension sysvmsg 2 3PHP_ARG_ENABLE(sysvmsg,whether to enable System V IPC support, 4[ --enable-sysvmsg 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