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]
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"
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)