From: Tom Lane <tgl@sss.pgh.pa.us>

Marc G. Fournier <scrappy@hub.org>

Commit: 6d817475b243c0b220176b0ee0c631d0b33f97bd
Author: Marc G. Fournier <scrappy@hub.org>
Date: 1998-04-27T14:55:46Z
Releases: 7.1.1
From: Tom Lane <tgl@sss.pgh.pa.us>

HP-UX (all versions) requires shared libraries to have execute
permission, and really needs them to be exactly mode 555 for
performance reasons.  The standard configure/install procedure
installs libpq.sl as mode 644, which DOES NOT WORK.

The attached patch modifies the makefiles to distinguish
INSTL_LIB_OPTS (install mode for ordinary libraries) from
INSTL_SHLIB_OPTS (mode for shared libs), and adds a test
to configure to set INSTL_SHLIB_OPTS="-m 555" when on HP-UX.

Files

PathChange+/−
src/configure modified +274 −265
src/configure.in modified +10 −1
src/interfaces/libpgtcl/Makefile.in modified +9 −2
src/interfaces/libpq/Makefile.in modified +2 −2
src/Makefile.global.in modified +2 −1