1
0
mirror of https://github.com/php/php-src.git synced 2026-04-02 13:43:02 +02:00
Files
archived-php-src/ext/sysvmsg/config.m4
Peter Kokot 9df6a1e4dd Add AS_HELP_STRING to *nix build configure options
The Autoconf's default AS_HELP_STRING macro can properly format help
strings [1] so watching out if columns are aligned manually is not
anymore.

[1] https://www.gnu.org/software/autoconf/manual/autoconf.html#Pretty-Help-Strings
2019-03-07 20:36:59 +01:00

17 lines
428 B
Plaintext

dnl config.m4 for extension sysvmsg
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