Commit 3c174367 authored by Jeff Trawick's avatar Jeff Trawick
Browse files

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
parent 36a07f01
Loading
Loading
Loading
Loading
+15 −4
Original line number Diff line number Diff line
@@ -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