cvs: php-src /ext/sysvmsg config.m4
| From: | Antony Dovgal | Date: | Thu, 24 Aug 2006 13:18:15 +0000 |
| Subject: | cvs: php-src /ext/sysvmsg config.m4 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-40096@lists.php.net to get a copy of this message | ||
tony2001 Thu Aug 24 13:18:15 2006 UTC
Modified files:
/php-src/ext/sysvmsg config.m4
Log:
sys/msg.h does not exist on MacOS X, we need to detect it in configure
http://cvs.php.net/viewvc.cgi/php-src/ext/sysvmsg/config.m4?r1=1.5&r2=1.6&diff_format=u
Index: php-src/ext/sysvmsg/config.m4
diff -u php-src/ext/sysvmsg/config.m4:1.5 php-src/ext/sysvmsg/config.m4:1.6
--- php-src/ext/sysvmsg/config.m4:1.5 Sun Oct 27 11:56:06 2002
+++ php-src/ext/sysvmsg/config.m4 Thu Aug 24 13:18:15 2006
@@ -1,9 +1,14 @@
-dnl $Id: config.m4,v 1.5 2002/10/27 11:56:06 msopacua Exp $
+dnl $Id: config.m4,v 1.6 2006/08/24 13:18:15 tony2001 Exp $
PHP_ARG_ENABLE(sysvmsg,whether to enable System V IPC support,
[ --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