From: Jeff Trawick Date: Sat, 1 Dec 2001 17:42:18 +0000 (+0000) Subject: Get shared builds of libapr and libaprutil, as well as Apache DSOs, X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9ad49072e821a679f2e1bbac114575225b5353cc;p=apache Get shared builds of libapr and libaprutil, as well as Apache DSOs, working on AIX. Submitted by: a cast of many, reverse engineering libtool to figure out how to work around its oddities/limitations/ bugs on AIX (Jeff Trawick coded these changes but it took a lot of help) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92276 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/CHANGES b/CHANGES index b1cb0bb51e..70983d58e7 100644 --- a/CHANGES +++ b/CHANGES @@ -1,5 +1,9 @@ Changes with Apache 2.0.30-dev + *) Get shared builds of libapr and libaprutil, as well as Apache DSOs, + working on AIX. [Aaron Bannert, Dick Dunbar , + Gary Hook , Victor Orlikowski, Jeff Trawick] + *) Fix the handling of SSI directives in which the ">" of the terminating "-->" is the last byte in a file [Brian Pane] diff --git a/configure.in b/configure.in index 0230a1694d..3c25e59aa7 100644 --- a/configure.in +++ b/configure.in @@ -48,23 +48,15 @@ dnl work on some platforms AC_CANONICAL_SYSTEM -case $host in - *-ibm-aix*) - disable_shared="--disable-shared" - ;; - *) - disable_shared="" -esac - orig_prefix="$prefix" echo $ac_n "${nl}Configuring Apache Portable Runtime library ...${nl}" -APR_SUBDIR_CONFIG(srclib/apr, "$apache_apr_flags --prefix=$prefix $disable_shared") +APR_SUBDIR_CONFIG(srclib/apr, "$apache_apr_flags --prefix=$prefix") echo $ac_n "${nl}Configuring Apache Portable Runtime Utility library...${nl}" -APR_SUBDIR_CONFIG(srclib/apr-util, "--with-apr=../apr --prefix=$prefix $disable_shared") +APR_SUBDIR_CONFIG(srclib/apr-util, "--with-apr=../apr --prefix=$prefix") echo $ac_n "${nl}Configuring PCRE regular expression library ...${nl}" @@ -280,7 +272,7 @@ if test "$apache_need_shared" = "yes"; then case $host in *-ibm-aix*) HTTPD_LDFLAGS="$HTTPD_LDFLAGS -Wl,-bE:$abs_builddir/server/httpd.exp" - SH_LDFLAGS="$SH_LDFLAGS -Wl,-bI:$abs_builddir/server/httpd.exp" + SH_LDFLAGS="$SH_LDFLAGS -Wl,-bI:$abs_builddir/server/httpd.exp -Wl,-bI:$abs_builddir/srclib/apr/apr.exp -Wl,-bI:$abs_builddir/srclib/apr-util/aprutil.exp" ;; *beos) SH_LDFLAGS='$(top_builddir)/_APP_' diff --git a/server/Makefile.in b/server/Makefile.in index ad99178a10..08af87044a 100644 --- a/server/Makefile.in +++ b/server/Makefile.in @@ -65,5 +65,5 @@ httpd.exp: exports.c export_vars.h @echo "#! ." > $@ @echo "* This file was AUTOGENERATED at build time." >> $@ @echo "* Please do not edit by hand." >> $@ - $(CPP) $(ALL_CPPFLAGS) $(ALL_INCLUDES) exports.c | grep "ap_hack_" | sed -e 's/^.*[)]\(.*\);$$/\1/' >> $@ - $(CPP) $(ALL_CPPFLAGS) $(ALL_INCLUDES) export_vars.h | sed -e 's/^\#[^!]*//' | sed -e '/^$$/d' >> $@ + $(CPP) $(ALL_CPPFLAGS) $(ALL_INCLUDES) exports.c | grep "ap_hack_" | grep -v apr_ | sed -e 's/^.*[)]\(.*\);$$/\1/' >> $@ + $(CPP) $(ALL_CPPFLAGS) $(ALL_INCLUDES) export_vars.h | grep -v apr_ | sed -e 's/^\#[^!]*//' | sed -e '/^$$/d' >> $@