mirror of https://github.com/postgres/postgres
Fix for install path
This commit is contained in:
parent
566cd87873
commit
5ab8a4ee6e
|
@ -1351,6 +1351,7 @@ fi
|
|||
fi
|
||||
|
||||
|
||||
set -x
|
||||
|
||||
for ac_prog in ginstall
|
||||
do
|
||||
|
|
|
@ -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."
|
||||
|
|
Loading…
Reference in New Issue