diff options
Diffstat (limited to 'acinclude.m4')
-rw-r--r-- | acinclude.m4 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index 9b499de4db..f285350ec0 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -2482,8 +2482,8 @@ AC_DEFUN([PHP_REGEX],[ AC_TRY_COMPILE([#include <regex.h>], [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_re_magic" = "yes"; then - AC_DEFINE([HAVE_REGEX_RE_MAGIC], [ ], 1) + if test "$ac_cv_regex_t_re_magic" = "yes"; then + AC_DEFINE([HAVE_REGEX_T_RE_MAGIC], [ ], 1) fi fi AC_MSG_CHECKING([which regex library to use]) |