Skip to content

Commit

Permalink
Fixed bug #19504
Browse files Browse the repository at this point in the history
Alligned 'Enable sysvmsg support' message.
  • Loading branch information
Ilia Alshanetsky committed Sep 19, 2002
1 parent cf07c69 commit ae5222a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ext/sysvmsg/config.m4
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
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])
Expand All @@ -11,7 +11,7 @@ if test "$PHP_SYSVMSG" != "no"; then
#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(
Expand All @@ -21,7 +21,7 @@ if test "$PHP_SYSVMSG" != "no"; then
],
[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])
Expand Down

0 comments on commit ae5222a

Please sign in to comment.