wrowe 2002/10/17 10:40:24
Modified: . configure.in
Log:
Platform preference for shl_load on HPUX11 must be expressed by testing
first for that method. dlopen on HPUX11/64 bit OS'es or including one
off libdld's should not be recognized.
Revision Changes Path
1.490 +4 -4 apr/configure.in
Index: configure.in
===================================================================
RCS file: /home/cvs/apr/configure.in,v
retrieving revision 1.489
retrieving revision 1.490
diff -u -r1.489 -r1.490
--- configure.in 17 Oct 2002 14:33:07 -0000 1.489
+++ configure.in 17 Oct 2002 17:40:24 -0000 1.490
@@ -1254,6 +1254,10 @@
[
AC_CHECK_FUNCS(NSLinkModule, [ tempdso="dyld" ], [ tempdso="no" ])
if test "$tempdso" = "no"; then
+ AC_CHECK_LIB(dld, shl_load, [ tempdso="shl" APR_ADDTO(LIBS,-ldld) ],
+ tempdso="no")
+ fi
+ if test "$tempdso" = "no"; then
AC_CHECK_FUNCS(dlopen, [ tempdso="dlfcn" ], [ tempdso="no" ])
fi
if test "$tempdso" = "no"; then
@@ -1262,10 +1266,6 @@
fi
if test "$tempdso" = "no"; then
AC_CHECK_LIB(root, load_image, tempdso="yes", tempdso="no")
- fi
- if test "$tempdso" = "no"; then
- AC_CHECK_LIB(dld, shl_load, [ tempdso="shl" APR_ADDTO(LIBS,-ldld) ],
- tempdso="no")
fi
if test "$tempdso" = "no"; then
case $host in