php-src/build
Peter Kokot 4e7064d173 Move acinclude.m4 to build/php.m4
The acinclude.m4 file is in a usual Autotools build processed with
Automake's aclocal tool. Since PHP currently doesn't use Automake and
aclocal this file can be moved into the build directory. PHP build
system currently generates a combined aclocal.m4 file that Autoconf
can processes automatically.

However, a newer practice is writing all local macros in separate
dedicated files prefixed with package name, in PHP's case PHP_MACRO_NAME
and putting them in a common `m4` directory. PHP uses currently `build`
directory for this purpose.

Name `php.m4` probably most resembles such file for PHP's case.

PHP manually created the aclocal.m4 file from acinclude.m4 and
build/libtool.m4. Which is also not a particularly good practice [1], so
this patch also removes the generated alocal.m4 usage and uses
m4_include() calls manually in the configure.ac and phpize.m4 files
manually.

- sort order is not important but can be alphabetical
- list of *.m4 files prerequisites for configure script generation
  updated
- Moving m4_include() before AC_INIT also removes all comments starting
  with hash character (`#`) in the included files.

[1] https://autotools.io/autoconf/macros.html
2019-04-23 20:28:45 +02:00
..
ax_check_compile_flag.m4 Upgrade AX_CHECK_COMPILE_FLAG macro to serial 6 2018-07-28 01:40:02 +02:00
ax_gcc_func_attribute.m4 Optimized php_addslashes with SSE4.2 instructions 2018-01-15 21:17:50 +08:00
build.mk Move acinclude.m4 to build/php.m4 2019-04-23 20:28:45 +02:00
buildcheck.sh Enhance Autoconf version checking 2019-03-24 02:12:46 +01:00
config-stubs Remove unused Git attributes ident 2018-07-25 00:53:25 +02:00
config.guess Fix file permissions 2019-02-28 22:07:16 +01:00
config.sub Fix file permissions 2019-02-28 22:07:16 +01:00
genif.sh Merge branch 'PHP-7.3' 2018-10-20 09:55:33 +02:00
libtool.m4 Don't detect FreeBSD 10 as FreeBSD 1 in libtool.m4. 2015-08-27 15:59:59 -07:00
ltmain.sh Fix file permissions 2019-02-28 22:07:16 +01:00
Makefile.gcov Move Makefile.global and Makefile.gcov to build directory 2019-03-04 12:30:42 +01:00
Makefile.global Remove php7.spec.in file 2019-03-28 17:42:11 +01:00
order_by_dep.awk Trim trailing whitespace in source code files 2018-10-13 14:17:28 +02:00
php_cxx_compile_stdcxx.m4 Trim trailing whitespace in source code files 2018-10-13 14:17:28 +02:00
php.m4 Move acinclude.m4 to build/php.m4 2019-04-23 20:28:45 +02:00
pkg.m4 ext/gd: Use pkg-config to detect the availability of freetype2 2018-11-07 13:05:47 +01:00
print_include.awk
shtool fix bug #51076 (race condition in shtool's mkdir -p) 2013-10-08 08:37:08 +02:00