summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2005-07-18 17:20:24 +0000
committerfoobar <sniper@php.net>2005-07-18 17:20:24 +0000
commita9cd02c0339a5a3eb6274c84ecc78878ba5c5c02 (patch)
tree2a6d61eb5ac29fb0d18b0954c252382ae7097e8b /acinclude.m4
parent70bd938bbdc264f94d6b480ae535636a241b5e3c (diff)
downloadphp-git-a9cd02c0339a5a3eb6274c84ecc78878ba5c5c02.tar.gz
fix macro
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index ee046bab7f..a952d829c5 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -2492,7 +2492,7 @@ AC_DEFUN([PHP_REGEX],[
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 <sys/types.h>
-#include <regex.h>], [struct regex_t rt; rt.re_magic;],
+#include <regex.h>], [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