]> granicus.if.org Git - php/commitdiff
fix macro
authorfoobar <sniper@php.net>
Mon, 18 Jul 2005 17:20:24 +0000 (17:20 +0000)
committerfoobar <sniper@php.net>
Mon, 18 Jul 2005 17:20:24 +0000 (17:20 +0000)
acinclude.m4

index ee046bab7fc4907f71df38119fc57461ba4a5e08..a952d829c58afd461712dadea431e56d071a513f 100644 (file)
@@ -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