diff options
author | Peter Kokot <peterkokot@gmail.com> | 2019-03-19 23:49:26 +0100 |
---|---|---|
committer | Peter Kokot <peterkokot@gmail.com> | 2019-04-07 05:52:14 +0200 |
commit | afd52f9d9986d92dd0c63832a07ab1a16bf11d53 (patch) | |
tree | 1bc5cd2b4ab427dcd104500affba7bf7ba6973f8 /buildconf | |
parent | 3eae4f677a604a547a1847a4fb0ba54e813c90c9 (diff) | |
download | php-git-afd52f9d9986d92dd0c63832a07ab1a16bf11d53.tar.gz |
Refactor AC_INIT in configure.ac and PHP versions
Since Autoconf 2.53 the AC_INIT call with only a single argument has
been made obsolete and now includes several other optional arguments to
make installation experience a bit better by providing program version
and links to the project in the `./configure -h` output. This patch also
updates win build version. The phpize.m4 AC_INIT has been updated with
the call without arguments.
Diffstat (limited to 'buildconf')
-rwxr-xr-x | buildconf | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -9,9 +9,9 @@ debug=0 # Go to project root. cd $(CDPATH= cd -- "$(dirname -- "$0")" && pwd -P) -eval $(grep '^PHP_EXTRA_VERSION=' configure.ac) -case "$PHP_EXTRA_VERSION" in - *-dev) +php_extra_version=$(grep '^AC_INIT(' configure.ac) +case "$php_extra_version" in + *-dev*) dev=1 ;; *) |