summaryrefslogtreecommitdiff
path: root/scripts
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 /scripts
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 'scripts')
-rw-r--r--scripts/phpize.m43
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/phpize.m4 b/scripts/phpize.m4
index 9b89d1b9cd..d3b471b5cd 100644
--- a/scripts/phpize.m4
+++ b/scripts/phpize.m4
@@ -1,7 +1,8 @@
dnl This file becomes configure.ac for self-contained extensions.
AC_PREREQ([2.68])
-AC_INIT(config.m4)
+AC_INIT
+AC_CONFIG_SRCDIR([config.m4])
AC_CONFIG_AUX_DIR([build])
AC_PRESERVE_HELP_ORDER