DSOs can substantially increase the load time.
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 :
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
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)
;;
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