summaryrefslogtreecommitdiff
path: root/src/configure.in
diff options
context:
space:
mode:
authorMarc G. Fournier1998-08-30 19:41:50 +0000
committerMarc G. Fournier1998-08-30 19:41:50 +0000
commit91178b8b2ee131b8de301efe10ac3e80b080e735 (patch)
tree38c7b98d58adc35a9be930159eee0c04df827a22 /src/configure.in
parent7f3630e270322240437ba1871e15c06a32fae704 (diff)
From: Tom Lane <tgl@sss.pgh.pa.us>
We're carrying around a copy of install-sh in case the local system has no install script. It's wasted baggage, because configure doesn't know it's there :-(. (Apparently everyone who's used postgres lately already had an install script somewhere in their path. I happened to try to run configure with a minimal PATH tonight, and it promptly gave up for lack of an install program.) Here's the patch.
Diffstat (limited to 'src/configure.in')
-rw-r--r--src/configure.in3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/configure.in b/src/configure.in
index 390b7ba9212..88035b17cc4 100644
--- a/src/configure.in
+++ b/src/configure.in
@@ -354,8 +354,7 @@ AC_ARG_WITH(CXX,
[ AC_PROG_CXX])
AC_SUBST(HAVECXX)
-INSTALLPATH="/usr/ucb:$PATH"
-AC_PATH_PROGS(INSTALL, ginstall installbsd bsdinst scoinst install, NONE, $INSTALLPATH)
+AC_PATH_PROGS(INSTALL, ginstall installbsd bsdinst scoinst install install-sh, NONE, "/usr/ucb:$PATH:`pwd`")
if test $INSTALL = "NONE"
then
echo "- No Install Script found - aborting."