wsanchez 01/04/18 10:46:41
Modified: . configure.in
Log:
Check for NSLinkModule and enable dso if found.
Revision Changes Path
1.292 +5 -2 apr/configure.in
Index: configure.in
===================================================================
RCS file: /home/cvs/apr/configure.in,v
retrieving revision 1.291
retrieving revision 1.292
diff -u -r1.291 -r1.292
--- configure.in 2001/04/14 22:02:04 1.291
+++ configure.in 2001/04/18 17:46:39 1.292
@@ -780,8 +780,11 @@
[ --enable-dso Enable dso support ],
[ tempdso=$enableval],
[
- AC_CHECK_LIB(dl, dlopen, [ tempdso="yes" LIBS="$LIBS -ldl" ],
- tempdso="no")
+ AC_CHECK_FUNCS(NSLinkModule, [ tempdso="yes" ], [ tempdso="no" ])
+ if test "$tempdso" = "no"; then
+ AC_CHECK_LIB(dl, dlopen, [ tempdso="yes" LIBS="$LIBS -ldl" ],
+ tempdso="no")
+ fi
if test "$tempdso" = "no"; then
AC_CHECK_FUNCS(dlopen, [ tempdso="yes" ], [ tempdso="no" ])
fi