]> granicus.if.org Git - apache/commitdiff
Get FreeBSD 3.4 building again. It doesn't have lib dl, so the build
authorJeff Trawick <trawick@apache.org>
Sat, 10 Jun 2000 18:20:35 +0000 (18:20 +0000)
committerJeff Trawick <trawick@apache.org>
Sat, 10 Jun 2000 18:20:35 +0000 (18:20 +0000)
was broken as of the time we started always sticking in -ldl.

src/modules/standard/config.m4:

. don't add "-ldl" to LIBS for FreeBSD either
. back out previous change regarding LTFLAGS; it should be o.k.
  to add it for any platform, because libtool knows what to do with
  it (no, Greg A., I haven't added support for it to OS/390 libtool
  yet :) )

src/lib/apr/configure.in:

. if dlopen() isn't found in lib dl, don't fret (yet); try to find
  it in the default libraries;

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85505 13f79535-47bb-0310-9956-ffa450edef68

modules/aaa/config.m4

index 9d979f761884bfcadc54dbe06ee6f98e0a380229..0740a97e96d98ac77221ff049247ec907f686457 100644 (file)
@@ -54,14 +54,17 @@ APACHE_CHECK_STANDARD_MODULE(unique_id, per-request unique ids, , no)
 APACHE_CHECK_STANDARD_MODULE(setenvif, basing ENV vars on headers, , yes)
 APACHE_CHECK_STANDARD_MODULE(echo, ECHO server, , yes)
 
+LTFLAGS="$LTFLAGS -export-dynamic"
+
 PLAT=`$ac_config_guess`
 PLAT=`$ac_config_sub $PLAT`
 case "$PLAT" in
     *-ibm-os390)
         ;;
+    *-freebsd*)
+        ;;
     *)
         LIBS="$LIBS -ldl"
-        LTFLAGS="$LTFLAGS -export-dynamic"
         ;;
 esac