You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by tr...@locus.apache.org on 2000/08/18 17:33:09 UTC
cvs commit: apache-2.0/src/lib/apr configure.in
trawick 00/08/18 08:33:08
Modified: src CHANGES configure.in
src/lib/apr configure.in
Log:
Tweak apache/apr builds to support dsos on OS/390.
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
Revision Changes Path
1.204 +1 -1 apache-2.0/src/CHANGES
Index: CHANGES
===================================================================
RCS file: /home/cvs/apache-2.0/src/CHANGES,v
retrieving revision 1.203
retrieving revision 1.204
diff -u -r1.203 -r1.204
--- CHANGES 2000/08/17 14:20:12 1.203
+++ CHANGES 2000/08/18 15:33:07 1.204
@@ -1,5 +1,5 @@
Changes with Apache 2.0a6
- *) Add support to APR for dsos on OS/390. [Greg Ames]
+ *) Add support to Apache and APR for dsos on OS/390. [Greg Ames]
*) Add a chunking filter to Apache. This brings us one step closer
to removing BUFF. [Ryan Bloom]
1.75 +5 -0 apache-2.0/src/configure.in
Index: configure.in
===================================================================
RCS file: /home/cvs/apache-2.0/src/configure.in,v
retrieving revision 1.74
retrieving revision 1.75
diff -u -r1.74 -r1.75
--- configure.in 2000/08/11 04:13:43 1.74
+++ configure.in 2000/08/18 15:33:08 1.75
@@ -151,6 +151,11 @@
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,
1.144 +13 -0 apache-2.0/src/lib/apr/configure.in
Index: configure.in
===================================================================
RCS file: /home/cvs/apache-2.0/src/lib/apr/configure.in,v
retrieving revision 1.143
retrieving revision 1.144
diff -u -r1.143 -r1.144
--- configure.in 2000/08/02 05:51:39 1.143
+++ configure.in 2000/08/18 15:33:08 1.144
@@ -105,6 +105,12 @@
AC_CHECK_DEFINE(BONE_VERSION, sys/socket.h)
eolstr="\\n"
;;
+ *os390)
+ OSDIR="os390"
+ config_subdirs="shmem/unix/mm"
+ USE_MM=yes
+ eolstr="\\n"
+ ;;
*)
OSDIR="unix"
config_subdirs="shmem/unix/mm"
@@ -436,6 +442,13 @@
fi
if test "$tempdso" = "no"; then
AC_CHECK_LIB(root, load_image, tempdso="yes", tempdso="no")
+ fi
+ if test "$tempdso" = "no"; then
+ case $OS in
+ *os390)
+ tempdso="yes"
+ ;;
+ esac
fi
] )