summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorJeff Trawick <trawick@apache.org>2001-09-05 18:40:35 +0200
committerJeff Trawick <trawick@apache.org>2001-09-05 18:40:35 +0200
commit7c2730ef0c2ffc952acc75b09ba0ed37b8b233e3 (patch)
tree71b7501a86a9bcbc69a3c4ef8cff3c9a164e96b4 /configure.in
parentfix a module reference so that it doesn't look like two files (diff)
downloadapache2-7c2730ef0c2ffc952acc75b09ba0ed37b8b233e3.tar.xz
apache2-7c2730ef0c2ffc952acc75b09ba0ed37b8b233e3.zip
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
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in19
1 files changed, 15 insertions, 4 deletions
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