aboutsummaryrefslogtreecommitdiff
path: root/src/configure
diff options
context:
space:
mode:
Diffstat (limited to 'src/configure')
-rwxr-xr-xsrc/configure8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/configure b/src/configure
index 3828180454a..d155327fe3d 100755
--- a/src/configure
+++ b/src/configure
@@ -1067,12 +1067,12 @@ INSTLOPTS="-m 444"
INSTL_EXE_OPTS="-m 555"
INSTL_LIB_OPTS="-m 664"
-if test "`basename $INSTALL`." = "install."
-then
+case "`basename $INSTALL`" in
+ install|installbsd)
INSTLOPTS="-c $INSTLOPTS"
INSTL_EXE_OPTS="-c $INSTL_EXE_OPTS"
- INSTL_LIB_OPTS="-c $INSTL_LIB_OPTS"
-fi
+ INSTL_LIB_OPTS="-c $INSTL_LIB_OPTS";;
+esac
echo "- Using $INSTALL"