mirror of
https://github.com/php/php-src.git
synced 2025-08-15 13:38:49 +02:00
Fix Autoconf check for development versions (#11532)
When Autoconf version includes also development patch character (for example, 2.72c), such as in unreleased Autoconf versions, this now sets proper number for checking minimum required Autoconf version.
This commit is contained in:
parent
c322da0606
commit
700f6918e6
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ echo "buildconf: Checking installation"
|
|||
min_version=$(sed -n 's/AC_PREREQ(\[\(.*\)\])/\1/p' configure.ac)
|
||||
|
||||
# Check if autoconf exists.
|
||||
ac_version=$($PHP_AUTOCONF --version 2>/dev/null|head -n 1|sed -e 's/^[^0-9]*//' -e 's/[a-z]* *$//')
|
||||
ac_version=$($PHP_AUTOCONF --version 2>/dev/null|head -n 1|sed -e 's/^[^0-9]*//' -e 's/[^0-9.]*$//')
|
||||
|
||||
if test -z "$ac_version"; then
|
||||
echo "buildconf: autoconf not found." >&2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue