]> granicus.if.org Git - php/commitdiff
Fixed bug #19504
authorIlia Alshanetsky <iliaa@php.net>
Thu, 19 Sep 2002 20:14:58 +0000 (20:14 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Thu, 19 Sep 2002 20:14:58 +0000 (20:14 +0000)
Alligned 'Enable sysvmsg support' message.

ext/sysvmsg/config.m4

index 51a667b01a3d964a7b73c9aae904f94c29dd0cec..1bc2dba7d8af089e9358e28bf0eaf5dae3de1818 100644 (file)
@@ -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])
@@ -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(
@@ -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])