+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.
done
test -n "$INSTALL" || INSTALL="NONE"
-if test $INSTALL = "NONE"
+if test "$INSTALL" = "NONE"
then
echo "- No Install Script found - aborting."
exit 0;
[ 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"