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:
parent
d56347b981
commit
f6cb5c72bc
8
configure
vendored
8
configure
vendored
@ -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
|
||||
*\ * | *\ *)
|
||||
|
13
configure.ac
13
configure.ac
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user