diff --git a/src/configure b/src/configure index b6d9dfc449c9b722d0601081ecd5b287ca068d92..46a882253b12398788a277004ad63708f271d3eb 100755 --- a/src/configure +++ b/src/configure @@ -1021,7 +1021,7 @@ echo "$ac_t""$CPP" 1>&6 HAVECXX='HAVE_Cplusplus=false' -for ac_prog in ginstall installbsd install bsdinst +for ac_prog in ginstall installbsd bsdinst scoinst install do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 @@ -1036,7 +1036,7 @@ else ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in NONE$ac_dummy; do + for ac_dir in $PATH$ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path_INSTALL="$ac_dir/$ac_word" @@ -1056,7 +1056,7 @@ fi test -n "$INSTALL" && break done -test -n "$INSTALL" || INSTALL="scoinst" +test -n "$INSTALL" || INSTALL="NONE" if test $INSTALL = "NONE" then diff --git a/src/configure.in b/src/configure.in index 660026dbfb2a653d74bba76a9c7aa9cb5f31dc4c..428437dde548b5bdc06016b9ae38933eed4e5fe4 100644 --- a/src/configure.in +++ b/src/configure.in @@ -259,7 +259,7 @@ dnl AC_SUBST(HAVECXX) dnl **************************************************************** HAVECXX='HAVE_Cplusplus=false' AC_SUBST(HAVECXX) -AC_PATH_PROGS(INSTALL, ginstall installbsd install bsdinst, scoinst, NONE, $PATH) +AC_PATH_PROGS(INSTALL, ginstall installbsd bsdinst scoinst install, NONE, $PATH) if test $INSTALL = "NONE" then echo "- No Install Script found - aborting."