diff --git a/configure b/configure index 8aba39fda..383cfa011 100755 --- a/configure +++ b/configure @@ -14382,8 +14382,9 @@ done INIT_DIR=/sbin/init.d RC_LINK=/sbin/rc2.d/S900sudo - # HP-UX shared libs must be executable - SHLIB_MODE=0755 + # HP-UX shared libs must be executable. + # Load time is much greater if writable so use 0555. + SHLIB_MODE=0555 for ac_func in pstat_getproc do : @@ -14410,8 +14411,9 @@ done INIT_DIR=/sbin/init.d RC_LINK=/sbin/rc2.d/S900sudo - # HP-UX shared libs must be executable - SHLIB_MODE=0755 + # HP-UX shared libs must be executable. + # Load time is much greater if writable so use 0555. + SHLIB_MODE=0555 # The HP bundled compiler cannot generate shared libs if test -z "$GCC"; then diff --git a/configure.ac b/configure.ac index 240e69523..274a2f753 100644 --- a/configure.ac +++ b/configure.ac @@ -1712,8 +1712,9 @@ case "$host" in INIT_DIR=/sbin/init.d RC_LINK=/sbin/rc2.d/S900sudo - # HP-UX shared libs must be executable - SHLIB_MODE=0755 + # HP-UX shared libs must be executable. + # Load time is much greater if writable so use 0555. + SHLIB_MODE=0555 AC_CHECK_FUNCS(pstat_getproc) ;; @@ -1730,8 +1731,9 @@ case "$host" in INIT_DIR=/sbin/init.d RC_LINK=/sbin/rc2.d/S900sudo - # HP-UX shared libs must be executable - SHLIB_MODE=0755 + # HP-UX shared libs must be executable. + # Load time is much greater if writable so use 0555. + SHLIB_MODE=0555 # The HP bundled compiler cannot generate shared libs if test -z "$GCC"; then