From 6a1956ac3786dae42c7a7860e89f92368d62935c Mon Sep 17 00:00:00 2001 From: foobar Date: Thu, 14 Jul 2005 00:16:43 +0000 Subject: [PATCH] MFH --- acinclude.m4 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.50.1