2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-22 09:57:41 +00:00

Prefer dlopen() over shl_load() on HP-UX 11.11 and higher.

This commit is contained in:
Todd C. Miller 2020-09-05 15:38:33 -06:00
parent d56347b981
commit f6cb5c72bc
2 changed files with 21 additions and 0 deletions

8
configure vendored
View File

@ -7263,6 +7263,14 @@ fi
;;
esac
case "$host_os" in
hiuxmpp*|hpux11.1[1-9]|hpux11.[2-9][0-9]|hpux1[2-9].*)
# Prefer dlopen() over shl_load()
: ${ac_cv_func_shl_load='no'}
: ${ac_cv_lib_dld_shl_load='no'}
;;
esac
case `pwd` in
*\ * | *\ *)

View File

@ -1716,6 +1716,19 @@ aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
;;
esac
dnl
dnl On HP-UX 11.11 and higher (and hiuxmpp) we prefer dlopen()
dnl over shl_load(). Libtool defaults to shl_load() so we need
dnl to prime the cache to override that default.
dnl
case "$host_os" in
hiuxmpp*|hpux11.1[[1-9]]|hpux11.[[2-9]][[0-9]]|hpux1[[2-9]].*)
# Prefer dlopen() over shl_load()
: ${ac_cv_func_shl_load='no'}
: ${ac_cv_lib_dld_shl_load='no'}
;;
esac
dnl
dnl Libtool init, we require libtool 2.2.6b or higher
dnl