summaryrefslogtreecommitdiff
path: root/buildconf
diff options
context:
space:
mode:
authorPeter Kokot <peterkokot@gmail.com>2019-03-19 23:49:26 +0100
committerPeter Kokot <peterkokot@gmail.com>2019-04-07 05:52:14 +0200
commitafd52f9d9986d92dd0c63832a07ab1a16bf11d53 (patch)
tree1bc5cd2b4ab427dcd104500affba7bf7ba6973f8 /buildconf
parent3eae4f677a604a547a1847a4fb0ba54e813c90c9 (diff)
downloadphp-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-xbuildconf6
1 files changed, 3 insertions, 3 deletions
diff --git a/buildconf b/buildconf
index 3248cd612d..ad9febfef5 100755
--- a/buildconf
+++ b/buildconf
@@ -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
;;
*)