Record full paths of programs sought by "configure".

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 40b9f192170a300cd9456eb71ba7c792ba9533e1
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2017-07-31T17:02:49Z
Releases: 10.0
Record full paths of programs sought by "configure".

Previously we had a mix of uses of AC_CHECK_PROG[S] and AC_PATH_PROG[S].
The only difference between those macros is that the latter emits the
full path to the program it finds, eg "/usr/bin/prove", whereas the
former emits just "prove".  Let's standardize on always emitting the
full path; this is better for documentation of the build, and it might
prevent some types of failures if later build steps are done with
a different PATH setting.

I did not touch the AC_CHECK_PROG[S] calls in ax_pthread.m4 and
ax_prog_perl_modules.m4.  There seems no need to make those diverge from
upstream, since we do not record the programs sought by the former, while
the latter's call to AC_CHECK_PROG(PERL,...) will never be reached.

Discussion: https://postgr.es/m/25937.1501433410@sss.pgh.pa.us

Files

PathChange+/−
config/docbook.m4 modified +1 −1
config/programs.m4 modified +3 −3
configure modified +165 −120
configure.in modified +11 −11

Discussion