sas Tue Sep 2 15:42:03 2003 EDT
Modified files: (Branch: PHP_4_3)
/php-src acinclude.m4 configure.in
/php-src/scripts phpize.m4
Log:
enable re2c check for self-contained extensions
Index: php-src/acinclude.m4
diff -u php-src/acinclude.m4:1.218.2.25 php-src/acinclude.m4:1.218.2.26
--- php-src/acinclude.m4:1.218.2.25 Wed Aug 27 13:57:28 2003
+++ php-src/acinclude.m4 Tue Sep 2 15:42:02 2003
@@ -1,4 +1,4 @@
-dnl $Id: acinclude.m4,v 1.218.2.25 2003/08/27 17:57:28 sniper Exp $
+dnl $Id: acinclude.m4,v 1.218.2.26 2003/09/02 19:42:02 sas Exp $
dnl
dnl This file contains local autoconf functions.
@@ -16,6 +16,9 @@
sed -e "s#\$(srcdir)#$ac_srcdir#g" -e "s#\$(builddir)#$ac_builddir#g" $src >>
Makefile.fragments
])
+AC_DEFUN(PHP_PROG_RE2C,[
+ AC_CHECK_PROG(RE2C, re2c, re2c, [exit 0;])
+])
dnl PHP_DEFINE(WHAT[, value])
dnl
Index: php-src/configure.in
diff -u php-src/configure.in:1.396.2.73 php-src/configure.in:1.396.2.74
--- php-src/configure.in:1.396.2.73 Sat Aug 30 03:29:54 2003
+++ php-src/configure.in Tue Sep 2 15:42:02 2003
@@ -1,4 +1,4 @@
-dnl ## $Id: configure.in,v 1.396.2.73 2003/08/30 07:29:54 sas Exp $ -*- sh -*-
+dnl ## $Id: configure.in,v 1.396.2.74 2003/09/02 19:42:02 sas Exp $ -*- sh -*-
dnl ## Process this file with autoconf to produce a configure script.
divert(1)
@@ -127,8 +127,7 @@
dnl check for -R, etc. switch
PHP_RUNPATH_SWITCH
-AC_CHECK_PROG(RE2C, re2c, re2c, [exit 0;])
-
+PHP_PROG_RE2C
AC_PROG_RANLIB
AC_PROG_LN_S
AC_PROG_AWK
Index: php-src/scripts/phpize.m4
diff -u php-src/scripts/phpize.m4:1.1.2.5 php-src/scripts/phpize.m4:1.1.2.6
--- php-src/scripts/phpize.m4:1.1.2.5 Tue Sep 2 15:33:52 2003
+++ php-src/scripts/phpize.m4 Tue Sep 2 15:42:03 2003
@@ -54,6 +54,7 @@
AC_PREFIX_DEFAULT()
+PHP_PROG_RE2C
AC_PROG_AWK
sinclude(config.m4)
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php