]> granicus.if.org Git - php/commit
Implement #64517: Add AC_ARG_PROGRAM macro
authorPeter Kokot <peterkokot@gmail.com>
Sat, 25 Aug 2018 18:52:28 +0000 (20:52 +0200)
committerPeter Kokot <peterkokot@gmail.com>
Wed, 29 Aug 2018 00:04:48 +0000 (02:04 +0200)
commit3748d8070ffd7750c73c327e212d6dc4fc76d427
treec5c8287e14334de922bcb92445bd1287e191bf00
parent03fc3d85d8a0624c7a1171576db9cf44575763b0
Implement #64517: Add AC_ARG_PROGRAM macro

The AC_ARG_PROGRAM Autoconf macro provides program name transformations
when installing. This patch implements #64517 and prepares the
implementation for the request #60518.

In ./configure --help it additionally outputs --program-prefix=PREFIX,
--program-suffix=SUFFIX and the upcoming --program-transform-name=PROGRAM
option.

Macro AC_ARG_PROGRAM is available since Autoconf 2.0 and needs to be
called after the AC_CANONICAL_TARGET macro.

Refs:
- https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Transforming-Names.html
UPGRADING.INTERNALS
configure.ac