OS/390: avoid unconditional -ldl and -export-dynamic (other

platforms can add related logic to the case statement)

This is a stop-gap measure until the need for certain libraries
can be determined automatically.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85448 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jeff Trawick
2000-06-06 21:27:54 +00:00
parent 1837ae341b
commit 704abb198b

View File

@ -54,9 +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)
PLAT=`$ac_config_guess`
PLAT=`$ac_config_sub $PLAT`
case "$PLAT" in
*-ibm-os390)
;;
*)
LIBS="$LIBS -ldl"
LTFLAGS="$LTFLAGS -export-dynamic"
;;
esac
LIBS="$LIBS -ldl"
LTFLAGS="$LTFLAGS -export-dynamic"
if test "$sharedobjs" = "yes"; then
APACHE_CHECK_STANDARD_MODULE(so, DSO capability, , yes)
else