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
This commit is contained in:
Jeff Trawick
2000-06-10 18:20:35 +00:00
parent ba532e1de1
commit fe6fe52a8c

View 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