pgsql: Use system install program when available and usable

Started by Peter Eisentrautabout 14 years ago2 messagescomitters
Jump to latest
#1Peter Eisentraut
peter_e@gmx.net

Use system install program when available and usable

In a3176dac22c4cd14971e35119e245abee7649cb9 we switched to using
install-sh unconditionally, because the configure check
AC_PROG_INSTALL would pick up any random program named install, which
has caused failure reports
(http://archives.postgresql.org/pgsql-hackers/2001-03/msg00312.php).
Now the configure check is much improved and should avoid false
positives. It has also been shown that using a system install program
can significantly reduce "make install" times, so it's worth trying.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/9db7ccae2000524b72a4052352cbb5407fb53b02

Modified Files
--------------
configure | 109 ++++++++++++++++++++++++++++++++++++++++++++++++
configure.in | 8 ++++
src/Makefile.global.in | 8 +++-
3 files changed, 123 insertions(+), 2 deletions(-)

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Peter Eisentraut (#1)
Re: pgsql: Use system install program when available and usable

Peter Eisentraut <peter_e@gmx.net> writes:

Use system install program when available and usable

Buildfarm member warthog seems not to like this patch:

/bin/sh ../../config/install-sh -c -d '/home/ohp/buildfarm/pgfarmbuild_warthog/HEAD/pgsql.3078/src/test/regress/./tmp_check/install/home/ohp/buildfarm/pgfarmbuild_warthog/HEAD/inst/lib'
../ -m 644 libpgport.a '/home/ohp/buildfarm/pgfarmbuild_warthog/HEAD/pgsql.3078/src/test/regress/./tmp_check/install/home/ohp/buildfarm/pgfarmbuild_warthog/HEAD/inst/lib/libpgport.a'
gmake[3]: execvp: ../: Permission denied
gmake[3]: *** [install] Error 127

regards, tom lane