]> granicus.if.org Git - postgresql/commitdiff
Our 'install-sh' script is BSD-style, therefore requires -c
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 4 Oct 1998 18:28:10 +0000 (18:28 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 4 Oct 1998 18:28:10 +0000 (18:28 +0000)
to behave sanely.  configure was not treating it as BSD...

src/configure
src/configure.in

index 69a1d5e6b09edf5b0b1f96c586b13dbe820a4907..1b1919ad0320a8ac3f9b83a5bc4e2e0ac5655292 100755 (executable)
@@ -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"
index 479c840b51536e2a23e2db6474f69ea8be839e3b..1410d4c09f5aca361194022e212fa73d43b1373c 100644 (file)
@@ -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"