summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2000-06-28 04:58:36 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2000-06-28 04:58:36 +0000
commitf0b0016ecb5c87a5c61074f3d6f81a474eae8846 (patch)
tree00215958dee8048ced84c9a0c8d1d36842b720b9 /configure.in
parent1aebc3618a0be13451918581ad390ad9a3518702 (diff)
downloadpostgresql-f0b0016ecb5c87a5c61074f3d6f81a474eae8846.tar.gz
Call me silly, but I think it would be a good idea if initdb and other
scripts are executable after being installed. Latest changes got the permissions wrong (non executable).
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 7aeac7a11e..c443ca8fdc 100644
--- a/configure.in
+++ b/configure.in
@@ -631,6 +631,7 @@ AC_PROG_INSTALL
INSTLOPTS="-m 444"
INSTL_EXE_OPTS="-m 555"
+INSTL_SCRIPT_OPTS="-m 755"
INSTL_LIB_OPTS="-m 644"
INSTL_SHLIB_OPTS="-m 644"
@@ -639,11 +640,16 @@ case "$host_os" in
hpux*)
INSTL_SHLIB_OPTS="-m 555" ;;
esac
+
AC_SUBST(INSTLOPTS)
AC_SUBST(INSTL_LIB_OPTS)
AC_SUBST(INSTL_SHLIB_OPTS)
AC_SUBST(INSTL_EXE_OPTS)
+dnl Fix autoconf's brain-dead defaults for script and shlib installs.
+
+INSTALL_SCRIPT="\${INSTALL} $INSTL_SCRIPT_OPTS"
+AC_SUBST(INSTALL_SCRIPT)
INSTALL_SHLIB="\${INSTALL} $INSTL_SHLIB_OPTS"
AC_SUBST(INSTALL_SHLIB)