summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>1998-09-02 02:34:00 +0000
committerBruce Momjian <bruce@momjian.us>1998-09-02 02:34:00 +0000
commit5ab8a4ee6eb24d133823aa7ec7fbf06a8b1739b3 (patch)
treee28c78868e73ac3091c80ac76cafd9699dc2a025
parent566cd87873e39acadc5a9c68746502fe7da3a55c (diff)
Fix for install path
-rwxr-xr-xsrc/configure1
-rw-r--r--src/configure.in18
2 files changed, 3 insertions, 16 deletions
diff --git a/src/configure b/src/configure
index 6cccd633320..c3307b04858 100755
--- a/src/configure
+++ b/src/configure
@@ -1351,6 +1351,7 @@ fi
fi
+set -x
for ac_prog in ginstall
do
diff --git a/src/configure.in b/src/configure.in
index a57ada82dc4..e3dc6fc109b 100644
--- a/src/configure.in
+++ b/src/configure.in
@@ -354,22 +354,8 @@ AC_ARG_WITH(CXX,
[ AC_PROG_CXX])
AC_SUBST(HAVECXX)
-AC_PATH_PROGS(INSTALL, ginstall, NONE, "/usr/ucb:$PATH:`pwd`")
-if test "$INSTALL" = "NONE"
-then AC_PATH_PROGS(INSTALL, installbsd, NONE, "/usr/ucb:$PATH:`pwd`")
-fi
-if test "$INSTALL" = "NONE"
-then AC_PATH_PROGS(INSTALL, bsdinst, NONE, "/usr/ucb:$PATH:`pwd`")
-fi
-if test "$INSTALL" = "NONE"
-then AC_PATH_PROGS(INSTALL, scoinst, NONE, "/usr/ucb:$PATH:`pwd`")
-fi
-if test "$INSTALL" = "NONE"
-then AC_PATH_PROGS(INSTALL, install, NONE, "/usr/ucb:$PATH:`pwd`")
-fi
-if test "$INSTALL" = "NONE"
-then AC_PATH_PROGS(INSTALL, install-sh, NONE, "/usr/ucb:$PATH:`pwd`")
-fi
+INSTALLPATH="`echo /usr/ucb:$PATH:\`pwd\` | sed 's/:/ /g'`"
+AC_PATH_PROGS(INSTALL, ginstall installbsd bsdinst scoinst install install-sh, NONE, $INSTALLPATH )
if test "$INSTALL" = "NONE"
then
echo "- No Install Script found - aborting."