aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarc G. Fournier <scrappy@hub.org>1997-04-28 22:40:35 +0000
committerMarc G. Fournier <scrappy@hub.org>1997-04-28 22:40:35 +0000
commitf4279c46e7776a3f194d08a2e2870239e44b4c65 (patch)
tree4baae1e050163df64417874c6afb86a2ff8f3430 /src
parent81acad4932e1a4fa525aa83970865af996daf5f0 (diff)
downloadpostgresql-f4279c46e7776a3f194d08a2e2870239e44b4c65.tar.gz
postgresql-f4279c46e7776a3f194d08a2e2870239e44b4c65.zip
Fix configure so that installbsd gets -c also
From: Lee Roth <roth@tpusa.com>
Diffstat (limited to 'src')
-rwxr-xr-xsrc/configure8
-rw-r--r--src/configure.in8
2 files changed, 8 insertions, 8 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"
diff --git a/src/configure.in b/src/configure.in
index ec8d3a00df0..7ea79d6f0bd 100644
--- a/src/configure.in
+++ b/src/configure.in
@@ -269,12 +269,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"
AC_SUBST(INSTALL)