]> granicus.if.org Git - php/commitdiff
Fix errormessage
authorHannes Magnusson <bjori@php.net>
Wed, 7 Sep 2011 13:47:31 +0000 (13:47 +0000)
committerHannes Magnusson <bjori@php.net>
Wed, 7 Sep 2011 13:47:31 +0000 (13:47 +0000)
ext/pcntl/config.m4

index 636f50cc4e5ddce29f6b7837cd80a44b4edefc3d..2ef07f140c0cb92a33294e31016040740f1f9156 100644 (file)
@@ -7,7 +7,7 @@ PHP_ARG_ENABLE(pcntl, whether to enable pcntl support,
 
 if test "$PHP_PCNTL" != "no"; then
   AC_CHECK_FUNCS(fork, [ AC_DEFINE(HAVE_FORK,1,[ ]) ], [ AC_MSG_ERROR(pcntl: fork() not supported by this platform) ])
-  AC_CHECK_FUNCS(waitpid, [ AC_DEFINE(HAVE_WAITPID,1,[ ]) ], [ AC_MSG_ERROR(pcntl: fork() not supported by this platform) ])
+  AC_CHECK_FUNCS(waitpid, [ AC_DEFINE(HAVE_WAITPID,1,[ ]) ], [ AC_MSG_ERROR(pcntl: waitpid() not supported by this platform) ])
   AC_CHECK_FUNCS(sigaction, [ AC_DEFINE(HAVE_SIGACTION,1,[ ]) ], [ AC_MSG_ERROR(pcntl: sigaction() not supported by this platform) ])
   AC_CHECK_FUNCS([getpriority setpriority wait3 sigprocmask sigwaitinfo sigtimedwait])
   PHP_NEW_EXTENSION(pcntl, pcntl.c php_signal.c, $ext_shared, cli)