]> granicus.if.org Git - php/commit
Automatically remove aclocal.m4 if present
authorPeter Kokot <peterkokot@gmail.com>
Thu, 25 Apr 2019 20:44:56 +0000 (22:44 +0200)
committerPeter Kokot <peterkokot@gmail.com>
Sun, 28 Apr 2019 19:05:34 +0000 (21:05 +0200)
commitf9db357623434e8583a22553d26aeaa375b97e05
treea5b1da6a02f0758b7ed3856e6cc11380f5aaab2c
parent78bed33862f361a0da96d4d2257ab8725055720b
Automatically remove aclocal.m4 if present

Commit 4e7064d173d2b5b22e159fcf52d22b10213b67b8 removed the usage of
`aclocal.m4`. When using Git repositories, many times cleaning of the
generated files is not done prior to running phpize or buildconf. For
example:

  git clone git://github.com/php/php-src
  cd php-src
  git checkout PHP-7.3
  ./buildconf
  ./configure
  git checkout PHP-7.4
  ./buildconf # -> warnings
  ./configure # -> errors

To not accidentally include `aclocal.m4` file in the generated configure
this enhances build system experience a bit more by removing aclocal.m4
file prior to start building configure file using phpize or buildconf.
build/build.mk
scripts/phpize.in