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...@apache.org on 2001/12/05 18:32:52 UTC
cvs commit: httpd-2.0 CHANGES configure.in
trawick 01/12/05 09:32:52
Modified: . CHANGES configure.in
Log:
separate logic specific to building Apache DSOs from logic needed
when anybody's DSOs should be built (e.g., via apxs) so that on a
few platforms with special issues third-party modules can be loaded
as long as mod_so is built into httpd
Revision Changes Path
1.468 +7 -0 httpd-2.0/CHANGES
Index: CHANGES
===================================================================
RCS file: /home/cvs/httpd-2.0/CHANGES,v
retrieving revision 1.467
retrieving revision 1.468
diff -u -r1.467 -r1.468
--- CHANGES 2001/12/05 03:02:44 1.467
+++ CHANGES 2001/12/05 17:32:52 1.468
@@ -1,5 +1,12 @@
Changes with Apache 2.0.30-dev
+ *) Whenever mod_so is enabled (not just when there are DSOs for
+ our modules), do whatever special magic is required for compiling/
+ loading third-party modules. This allows third-party DSOs to
+ be used on an AIX build when there were no built-in modules
+ built as DSOs. (This should help on OS/390 and BeOS as well.)
+ [Jeff Trawick]
+
*) Allow apxs to be used to build DSOs on AIX without requiring the
user to hard-code the list of import files. (This should help
on OS/390 and BeOS as well.) [Jeff Trawick]
1.189 +8 -1 httpd-2.0/configure.in
Index: configure.in
===================================================================
RCS file: /home/cvs/httpd-2.0/configure.in,v
retrieving revision 1.188
retrieving revision 1.189
diff -u -r1.188 -r1.189
--- configure.in 2001/12/03 18:00:04 1.188
+++ configure.in 2001/12/05 17:32:52 1.189
@@ -266,10 +266,18 @@
PRE_SHARED_CMDS='echo ""'
POST_SHARED_CMDS='echo ""'
+dnl apache_need_shared tells us if Apache modules are being built as DSOs
+
if test "$apache_need_shared" = "yes"; then
if test -f $ac_aux_dir/ltconfig; then
$SHELL $ac_aux_dir/ltconfig --output=shlibtool --disable-static --srcdir=$ac_aux_dir --cache-file=./config.cache $ac_aux_dir/ltmain.sh
fi
+ shared_build="shared-build"
+fi
+
+dnl enable_so tells is if *any* modules can be built as DSOs
+
+if test "$enable_so" = "yes"; then
case $host in
*-ibm-aix*)
HTTPD_LDFLAGS="$HTTPD_LDFLAGS -Wl,-bE:$abs_builddir/server/httpd.exp"
@@ -284,7 +292,6 @@
HTTPD_LDFLAGS="$HTTPD_LDFLAGS --main=$abs_srcdir/server/main.o --core-dll=$abs_srcdir/apachecore.dll"
SH_LDFLAGS="$SH_LDFLAGS --core-dll=$abs_srcdir/apachecore.dll"
esac
- shared_build="shared-build"
fi
APACHE_SUBST(PRE_SHARED_CMDS)