You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by tr...@apache.org on 2002/11/05 17:01:51 UTC
cvs commit: apr CHANGES configure.in
trawick 2002/11/05 08:01:51
Modified: . CHANGES configure.in
Log:
ReliantUnix: recognize that dlsym() is in libdl and dlopen() is in
libc. The check is generic so maybe this fixes some other system.
PR: 14189
Revision Changes Path
1.352 +5 -0 apr/CHANGES
Index: CHANGES
===================================================================
RCS file: /home/cvs/apr/CHANGES,v
retrieving revision 1.351
retrieving revision 1.352
diff -u -r1.351 -r1.352
--- CHANGES 29 Oct 2002 01:28:32 -0000 1.351
+++ CHANGES 5 Nov 2002 16:01:51 -0000 1.352
@@ -1,4 +1,9 @@
Changes with APR 0.9.2
+
+ *) ReliantUnix: recognize that dlsym() is in libdl and dlopen() is in
+ libc. The check is generic so maybe this fixes some other system.
+ PR 14189 [Jeff Trawick]
+
*) Win32: Fix APR_APPEND file i/o. [Bill Stoddard]
*) Fix a problem retrieving the remote socket address for sockets
1.496 +11 -0 apr/configure.in
Index: configure.in
===================================================================
RCS file: /home/cvs/apr/configure.in,v
retrieving revision 1.495
retrieving revision 1.496
diff -u -r1.495 -r1.496
--- configure.in 24 Oct 2002 00:09:35 -0000 1.495
+++ configure.in 5 Nov 2002 16:01:51 -0000 1.496
@@ -1283,6 +1283,17 @@
AC_CHECK_LIB(dl, dlopen, [ tempdso="dlfcn" APR_ADDTO(LIBS,-ldl) ],
tempdso="no")
fi
+ if test "$tempdso" = "dlfcn"; then
+ # ReliantUnix has dlopen() in libc but dlsym() in libdl :(
+ AC_CHECK_FUNCS(dlsym, [ tempdso="dlfcn" ], [ tempdso="no" ])
+ if test "$tempdso" = "no"; then
+ AC_CHECK_LIB(dl, dlsym, [ tempdso="dlfcn" APR_ADDTO(LIBS, -ldl) ],
+ tempdso="no")
+ fi
+ if test "$tempdso" = "no"; then
+ echo "Weird: dlopen() was found but dlsym() was not found!"
+ fi
+ fi
if test "$tempdso" = "no"; then
AC_CHECK_LIB(root, load_image, tempdso="yes", tempdso="no")
fi