mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Autotools: Add min-version argument to PHP_PROG_PHP macro (#15477)
This makes a bit simpler to use this macro by optionally passing the required minimum PHP version. If version is not passed it falls back to 7.4 as before. Minimum version also added to configure.ac.
This commit is contained in:
@@ -148,7 +148,8 @@ PHP_RUNPATH_SWITCH
|
||||
dnl Checks for some support/generator progs.
|
||||
PHP_PROG_BISON([3.0.0])
|
||||
PHP_PROG_RE2C([1.0.3], [--no-generation-date])
|
||||
PHP_PROG_PHP()
|
||||
dnl Find installed PHP. Minimum supported version for gen_stub.php is PHP 7.4.
|
||||
PHP_PROG_PHP([7.4])
|
||||
|
||||
PHP_ARG_ENABLE([re2c-cgoto],
|
||||
[whether to enable computed goto extension with re2c],
|
||||
|
||||
Reference in New Issue
Block a user