summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2003-08-30 07:27:05 +0000
committerSascha Schumann <sas@php.net>2003-08-30 07:27:05 +0000
commite090d2ddb911331dfdee9c46ab6288a9ee0ed3ce (patch)
treee41e7c54c6493a7a65550f4279557f545ad7378d /configure.in
parent707accd337a8b5c71d9a968ad33540f6fe53066b (diff)
downloadphp-git-e090d2ddb911331dfdee9c46ab6288a9ee0ed3ce.tar.gz
Never overwrite .c files when re2c does not exist.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index d04a272dce..774e1f979f 100644
--- a/configure.in
+++ b/configure.in
@@ -127,6 +127,8 @@ dnl AC_PROG_CXXCPP
dnl check for -R, etc. switch
PHP_RUNPATH_SWITCH
+AC_CHECK_PROG(RE2C, re2c, re2c, [exit 0;])
+
AC_PROG_RANLIB
AC_PROG_LN_S
AC_PROG_AWK
@@ -1071,6 +1073,7 @@ PHP_SUBST(PHP_RPATHS)
PHP_SUBST(PHP_SAPI)
PHP_SUBST_OLD(PHP_VERSION)
PHP_SUBST(PROG_SENDMAIL)
+PHP_SUBST(RE2C)
PHP_SUBST(SHELL)
PHP_SUBST(SHARED_LIBTOOL)
PHP_SUBST(TSRM_DIR)