From: foobar Date: Thu, 14 Jul 2005 00:16:43 +0000 (+0000) Subject: MFH X-Git-Tag: php-4.4.1RC1~112 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6a1956ac3786dae42c7a7860e89f92368d62935c;p=php MFH --- diff --git a/acinclude.m4 b/acinclude.m4 index eb749e2b2a..21093b825d 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -1101,7 +1101,8 @@ AC_DEFUN([PHP_REGEX],[ AC_DEFINE(REGEX,0,[ ]) dnl Check if field re_magic exists in struct regex_t AC_CACHE_CHECK([whether field re_magic exists in struct regex_t], ac_cv_regex_t_re_magic, [ - AC_TRY_COMPILE([#include ], [struct regex_t rt; rt.re_magic;], + AC_TRY_COMPILE([#include +#include ], [struct regex_t rt; rt.re_magic;], [ac_cv_regex_t_re_magic=yes], [ac_cv_regex_t_re_magic=no]) ]) if test "$ac_cv_regex_t_re_magic" = "yes"; then