Permalink
Browse files

enable re2c check for self-contained extensions

  • Loading branch information...
1 parent 64151b3 commit 7382178f735c7d3b8ccd18d4cb2f97e49fc8558f Sascha Schumann committed Sep 2, 2003
Showing with 6 additions and 2 deletions.
  1. +4 −0 acinclude.m4
  2. +1 −2 configure.in
  3. +1 −0 scripts/phpize.m4
View
@@ -16,6 +16,10 @@ AC_DEFUN([PHP_ADD_MAKEFILE_FRAGMENT],[
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
View
@@ -127,8 +127,7 @@ dnl AC_PROG_CXXCPP
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
View
@@ -54,6 +54,7 @@ PHP_BUILD_SHARED
AC_PREFIX_DEFAULT()
+PHP_PROG_RE2C
AC_PROG_AWK
sinclude(config.m4)

0 comments on commit 7382178

Please sign in to comment.