php-src/ext/sysvmsg/config.m4
Peter Kokot 540b9f5bc7
Autotools: Wrap long texts with m4_text_wrap (#15368)
The m4_text_wrap macro wraps the text into a single space separated
string which is wrapped to not exceed the line lenght of 79 characters
by default.
2024-08-13 10:33:17 +02:00

17 lines
507 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_FAILURE(m4_text_wrap([
Cannot enable System V IPC support. Required <sys/msg.h> header file not
found.
]))])
AC_DEFINE([HAVE_SYSVMSG], [1],
[Define to 1 if the PHP extension 'sysvmsg' is available.])
PHP_NEW_EXTENSION([sysvmsg], [sysvmsg.c], [$ext_shared])
fi