Configure fix for install script search.

This commit is contained in:
Bruce Momjian 1998-09-02 01:54:18 +00:00
parent 82707ffe2b
commit b07f4b4efb
5 changed files with 25 additions and 7 deletions

3
src/configure vendored
View File

@ -1352,6 +1352,7 @@ fi
set -x
for ac_prog in ginstall installbsd bsdinst scoinst install install-sh
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
@ -1389,7 +1390,7 @@ test -n "$INSTALL" && break
done
test -n "$INSTALL" || INSTALL="NONE"
if test $INSTALL = "NONE"
if test "$INSTALL" = "NONE"
then
echo "- No Install Script found - aborting."
exit 0;

View File

@ -354,11 +354,26 @@ AC_ARG_WITH(CXX,
[ AC_PROG_CXX])
AC_SUBST(HAVECXX)
AC_PATH_PROGS(INSTALL, ginstall installbsd bsdinst scoinst install install-sh, NONE, "/usr/ucb:$PATH:`pwd`")
if test $INSTALL = "NONE"
AC_PATH_PROGS(INSTALL, ginstall, NONE, "/usr/ucb:$PATH:`pwd`")
if test "$INSTALL" = "NONE"
AC_PATH_PROGS(INSTALL, installbsd, NONE, "/usr/ucb:$PATH:`pwd`")
fi
if test "$INSTALL" = "NONE"
AC_PATH_PROGS(INSTALL, bsdinst, NONE, "/usr/ucb:$PATH:`pwd`")
fi
if test "$INSTALL" = "NONE"
AC_PATH_PROGS(INSTALL, scoinst, NONE, "/usr/ucb:$PATH:`pwd`")
fi
if test "$INSTALL" = "NONE"
AC_PATH_PROGS(INSTALL, install, NONE, "/usr/ucb:$PATH:`pwd`")
fi
if test "$INSTALL" = "NONE"
AC_PATH_PROGS(INSTALL, install-sh, NONE, "/usr/ucb:$PATH:`pwd`")
fi
if test "$INSTALL" = "NONE"
then
echo "- No Install Script found - aborting."
exit 0;
exit 0
fi
INSTLOPTS="-m 444"

View File

@ -1,5 +1,4 @@
AROPT:cq
CC:gcc2
CFLAGS:-O2 -m486 -pipe -DPRE_BSDI_2_1
SHARED_LIB:
ALL:
@ -9,3 +8,4 @@ USE_LOCALE:no
DLSUFFIX:.o
YFLAGS:-d
YACC:
CC:gcc2

View File

@ -1,5 +1,4 @@
AROPT:cq
CC:gcc2
CFLAGS:-O2 -m486 -pipe
SHARED_LIB:
ALL:
@ -9,3 +8,5 @@ USE_LOCALE:no
DLSUFFIX:.o
YFLAGS:-d
YACC:
CC:gcc2

View File

@ -1,5 +1,4 @@
AROPT:cq
CC:gcc2
CFLAGS:-O2 -m486 -pipe
SHARED_LIB:
ALL:
@ -9,3 +8,5 @@ USE_LOCALE:no
DLSUFFIX:.o
YFLAGS:-d
YACC:
CC:gcc2