aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>1998-10-04 18:28:10 +0000
committerTom Lane <tgl@sss.pgh.pa.us>1998-10-04 18:28:10 +0000
commit3512284bdaa34cc03051543f0cdb7fa19fcd9385 (patch)
tree541ce027aced28380f305f03cfdf433c45169ca7
parent10d987c709662b031374081cdf12980d699bc6c2 (diff)
downloadpostgresql-3512284bdaa34cc03051543f0cdb7fa19fcd9385.tar.gz
postgresql-3512284bdaa34cc03051543f0cdb7fa19fcd9385.zip
Our 'install-sh' script is BSD-style, therefore requires -c
to behave sanely. configure was not treating it as BSD...
-rwxr-xr-xsrc/configure2
-rw-r--r--src/configure.in4
2 files changed, 4 insertions, 2 deletions
diff --git a/src/configure b/src/configure
index 69a1d5e6b09..1b1919ad032 100755
--- a/src/configure
+++ b/src/configure
@@ -1407,7 +1407,7 @@ case "$host_os" in
esac
case "`basename $INSTALL`" in
- install|installbsd|scoinst)
+ install|installbsd|scoinst|install-sh)
INSTLOPTS="-c $INSTLOPTS"
INSTL_EXE_OPTS="-c $INSTL_EXE_OPTS"
INSTL_LIB_OPTS="-c $INSTL_LIB_OPTS"
diff --git a/src/configure.in b/src/configure.in
index 479c840b515..1410d4c09f5 100644
--- a/src/configure.in
+++ b/src/configure.in
@@ -373,8 +373,10 @@ case "$host_os" in
INSTL_SHLIB_OPTS="-m 555" ;;
esac
+dnl These flavors of install need -c to install by copy rather than move.
+dnl install by move is fatal because it removes stuff from the source tree!
case "`basename $INSTALL`" in
- install|installbsd|scoinst)
+ install|installbsd|scoinst|install-sh)
INSTLOPTS="-c $INSTLOPTS"
INSTL_EXE_OPTS="-c $INSTL_EXE_OPTS"
INSTL_LIB_OPTS="-c $INSTL_LIB_OPTS"