tony2001 Thu Aug 24 13:18:24 2006 UTC Modified files: (Branch: PHP_5_2) /php-src/ext/sysvmsg config.m4 Log: sys/msg.h does not exist on MacOS X http://cvs.php.net/viewvc.cgi/php-src/ext/sysvmsg/config.m4?r1=1.5&r2=1.5.20.1&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.5.20.1 --- 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:24 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.5.20.1 2006/08/24 13:18:24 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
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php