From fe6fe52a8cb519afeae2c09572a93818b9bc81b5 Mon Sep 17 00:00:00 2001 From: Jeff Trawick Date: Sat, 10 Jun 2000 18:20:35 +0000 Subject: [PATCH] Get FreeBSD 3.4 building again. It doesn't have lib dl, so the build 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 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/aaa/config.m4 b/modules/aaa/config.m4 index 9d979f7618..0740a97e96 100644 --- a/modules/aaa/config.m4 +++ b/modules/aaa/config.m4 @@ -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 -- 2.40.0