summaryrefslogtreecommitdiff
path: root/scripts/phpize.m4
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/phpize.m4')
-rw-r--r--scripts/phpize.m49
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/phpize.m4 b/scripts/phpize.m4
index d3b471b5cd..61af6c2b74 100644
--- a/scripts/phpize.m4
+++ b/scripts/phpize.m4
@@ -1,5 +1,14 @@
dnl This file becomes configure.ac for self-contained extensions.
+dnl Include external macro definitions before the AC_INIT to also remove
+dnl comments starting with # and empty newlines from the included files.
+m4_include([build/ax_check_compile_flag.m4])
+m4_include([build/ax_gcc_func_attribute.m4])
+m4_include([build/libtool.m4])
+m4_include([build/php_cxx_compile_stdcxx.m4])
+m4_include([build/php.m4])
+m4_include([build/pkg.m4])
+
AC_PREREQ([2.68])
AC_INIT
AC_CONFIG_SRCDIR([config.m4])