dnl $Id$
PHP_ARG_ENABLE(sysvmsg,whether to enable System V IPC support,
-[ --enable-sysvmsg Enable sysvmsg support])
+[ --enable-sysvmsg Enable sysvmsg support])
if test "$PHP_SYSVMSG" != "no"; then
AC_MSG_CHECKING([whether sys/msg.h defines struct msgbuf or mymsg])
#include <sys/msg.h>],
[struct msgbuf *foo;
- foo = (struct msgbuf *) malloc(sizeof(struct msgbuf) +1);
+ foo = (struct msgbuf *) malloc(sizeof(struct msgbuf*) +1);
return 1;],
[AC_MSG_RESULT(msgbuf)],
[AC_TRY_COMPILE(
],
[struct mymsg *foo;
- foo = (struct mymsg *) malloc(sizeof(struct mymsg) +1);
+ foo = (struct mymsg *) malloc(sizeof(struct mymsg*) +1);
return 1;
],
[AC_DEFINE(msgbuf, mymsg, [msgbuf is called mymsg])