mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-30 19:00:29 +08:00
Our 'install-sh' script is BSD-style, therefore requires -c
to behave sanely. configure was not treating it as BSD...
This commit is contained in:
parent
10d987c709
commit
3512284bda
2
src/configure
vendored
2
src/configure
vendored
@ -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"
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user