From: Jeff Trawick Date: Wed, 5 Sep 2001 16:40:35 +0000 (+0000) Subject: on AIX we need to pass in --disable-shared to apr and apr-util X-Git-Tag: 2.0.26~320 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7c2730ef0c2ffc952acc75b09ba0ed37b8b233e3;p=apache on AIX we need to pass in --disable-shared to apr and apr-util configurations; otherwise we get goofy executable files obviously libtool isn't doing the right thing, but I don't know what that is git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90902 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/configure.in b/configure.in index 61e8fb8126..f4e1f564a4 100644 --- a/configure.in +++ b/configure.in @@ -43,15 +43,28 @@ test "$exec_prefix" = "NONE" && exec_prefix='${prefix}' dnl ## Run configure for packages Apache uses +dnl shared library support for these packages doesn't currently +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") +APR_SUBDIR_CONFIG(srclib/apr, "$apache_apr_flags --prefix=$prefix $disable_shared") echo $ac_n "${nl}Configuring Apache Portable Runtime Utility library...${nl}" -APR_SUBDIR_CONFIG(srclib/apr-util, "--with-apr=../apr --prefix=$prefix") +APR_SUBDIR_CONFIG(srclib/apr-util, "--with-apr=../apr --prefix=$prefix $disable_shared") echo $ac_n "${nl}Configuring PCRE regular expression library ...${nl}" @@ -92,8 +105,6 @@ fi echo $ac_n "${nl}Applying OS-specific hints for httpd ...${nl}" -AC_CANONICAL_SYSTEM - case $host in *os2*) # Use a custom made libtool replacement