]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Tweak apache/apr builds to support dsos on OS/390.
authorJeff Trawick <trawick@apache.org>
Fri, 18 Aug 2000 15:33:08 +0000 (15:33 +0000)
committerJeff Trawick <trawick@apache.org>
Fri, 18 Aug 2000 15:33:08 +0000 (15:33 +0000)
The OS/390 compile options are hard-coded because we need the
special DLL,EXPORTALL on *all* object files that are part of the
core so that dsos can reference symbols in the core.  (Of course,
we use the option on more object files than that, but it doesn't
seem to hurt anything.)

We hard-code the enablement of DSOs on OS/390 because the
library functions on OS/390 to manage explicit loading are not
portable, so there seems to be no use in probing for them.

Submitted by: Greg Ames

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

configure.in

index 48e22b2e6cf49e8fb0b54b882117d9547ffb6e6d..80431a67f829e85bf99ed7442a51cca45d1c7e92 100644 (file)
@@ -151,6 +151,11 @@ APACHE_LIBTOOL_SILENT
 
 if test "$apache_need_shared" = "yes"; then
   $SHELL $srcdir/ltconfig --output=shlibtool --disable-static --srcdir=$srcdir --cache-file=./config.cache $srcdir/ltmain.sh
+  case $PLATFORM in
+    *os390)
+      CFLAGS="$CFLAGS -Wc,DLL,EXPORTALL"
+      ;;
+  esac
 fi
 
 AC_ARG_WITH(program-name,