cvs: php-src(PHP_4_4) / acinclude.m4
| From: | Jani Taskinen | Date: | Thu, 14 Jul 2005 00:16:43 +0000 |
| Subject: | cvs: php-src(PHP_4_4) / acinclude.m4 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-32913@lists.php.net to get a copy of this message | ||
sniper Wed Jul 13 20:16:43 2005 EDT
Modified files: (Branch: PHP_4_4)
/php-src acinclude.m4
Log:
MFH
http://cvs.php.net/diff.php/php-src/acinclude.m4?r1=1.218.2.50.2.1&r2=1.218.2.50.2.2&ty=u
Index: php-src/acinclude.m4
diff -u php-src/acinclude.m4:1.218.2.50.2.1 php-src/acinclude.m4:1.218.2.50.2.2
--- php-src/acinclude.m4:1.218.2.50.2.1 Wed Jul 13 11:04:30 2005
+++ php-src/acinclude.m4 Wed Jul 13 20:16:43 2005
@@ -1,4 +1,4 @@
-dnl $Id: acinclude.m4,v 1.218.2.50.2.1 2005/07/13 15:04:30 sniper Exp $ -*- autoconf -*-
+dnl $Id: acinclude.m4,v 1.218.2.50.2.2 2005/07/14 00:16:43 sniper Exp $ -*- autoconf -*-
dnl
dnl This file contains local autoconf functions.
@@ -1101,7 +1101,8 @@
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 <regex.h>], [struct regex_t rt; rt.re_magic;],
+ AC_TRY_COMPILE([#include <sys/types.h>
+#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_t_re_magic" = "yes"; then