Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

enable re2c check for self-contained extensions

  • Loading branch information...
commit 7382178f735c7d3b8ccd18d4cb2f97e49fc8558f 1 parent 64151b3
Sascha Schumann authored

Showing 3 changed files with 6 additions and 2 deletions. Show diff stats Hide diff stats

  1. +4 0 acinclude.m4
  2. +1 2  configure.in
  3. +1 0  scripts/phpize.m4
4 acinclude.m4
@@ -16,6 +16,10 @@ AC_DEFUN([PHP_ADD_MAKEFILE_FRAGMENT],[
16 16 sed -e "s#\$(srcdir)#$ac_srcdir#g" -e "s#\$(builddir)#$ac_builddir#g" $src >> Makefile.fragments
17 17 ])
18 18
  19 +AC_DEFUN(PHP_PROG_RE2C,[
  20 + AC_CHECK_PROG(RE2C, re2c, re2c, [exit 0;])
  21 +])
  22 +
19 23
20 24 dnl PHP_DEFINE(WHAT[, value])
21 25 dnl
3  configure.in
@@ -127,8 +127,7 @@ dnl AC_PROG_CXXCPP
127 127 dnl check for -R, etc. switch
128 128 PHP_RUNPATH_SWITCH
129 129
130   -AC_CHECK_PROG(RE2C, re2c, re2c, [exit 0;])
131   -
  130 +PHP_PROG_RE2C
132 131 AC_PROG_RANLIB
133 132 AC_PROG_LN_S
134 133 AC_PROG_AWK
1  scripts/phpize.m4
@@ -54,6 +54,7 @@ PHP_BUILD_SHARED
54 54
55 55 AC_PREFIX_DEFAULT()
56 56
  57 +PHP_PROG_RE2C
57 58 AC_PROG_AWK
58 59
59 60 sinclude(config.m4)

0 comments on commit 7382178

Please sign in to comment.
Something went wrong with that request. Please try again.