summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2021-03-16 12:28:47 +0100
committerNikita Popov <nikita.ppv@gmail.com>2021-03-16 12:30:56 +0100
commitfa9e2b31b88b1189e0b3d29840e3cce9f44c632d (patch)
tree1d9747eaa6a4040fbb1e5f82551e2384e7b7ccaa /configure.ac
parent9140c9038a83ff55a78f357f8485de086d83d94e (diff)
downloadphp-git-fa9e2b31b88b1189e0b3d29840e3cce9f44c632d.tar.gz
Check for php program in autoconf
Use the detected PHP (minimum 7.1) to run gen_stubs, and other code generation scripts in the future.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 1151557446..37300041b7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -155,6 +155,7 @@ dnl Checks for some support/generator progs.
PHP_PROG_AWK
PHP_PROG_BISON([3.0.0])
PHP_PROG_RE2C([0.13.4])
+PHP_PROG_PHP()
PHP_ARG_ENABLE([re2c-cgoto],
[whether to enable computed goto gcc extension with re2c],