diff options
author | Roy T. Fielding <fielding@apache.org> | 2001-05-11 10:12:06 +0200 |
---|---|---|
committer | Roy T. Fielding <fielding@apache.org> | 2001-05-11 10:12:06 +0200 |
commit | c8a0228f917fcb0a14bb66a9ecf0c1107ad2be37 (patch) | |
tree | 29acb2443ea0cfd9cc2a273c8f2c0caa761d7411 /configure.in | |
parent | No need to sinclude macros that we no longer use. (diff) | |
download | apache2-c8a0228f917fcb0a14bb66a9ecf0c1107ad2be37.tar.xz apache2-c8a0228f917fcb0a14bb66a9ecf0c1107ad2be37.zip |
Simplify the configuration process by moving all libtool stuff to APR
and moving the last bits of hints.m4 inline. Now we only run every
test four times instead of five. One down, three to go.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89081 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 37 |
1 files changed, 32 insertions, 5 deletions
diff --git a/configure.in b/configure.in index 6895d420b4..b5ac44a544 100644 --- a/configure.in +++ b/configure.in @@ -16,7 +16,6 @@ dnl # sinclude(srclib/apr/build/apr_common.m4) sinclude(srclib/apr/build/apr_network.m4) sinclude(srclib/apr/build/apr_threads.m4) -sinclude(hints.m4) sinclude(acinclude.m4) dnl Save user-defined environment settings for later restoration @@ -88,6 +87,8 @@ else APR_ADDTO(INCLUDES, [-I. -I\$(top_srcdir)/os/\$(OS_DIR) -I\$(top_srcdir)/server/mpm/\$(MPM_NAME) -I\$(top_srcdir)/modules/http -I\$(top_srcdir)/include -I\$(top_srcdir)/srclib/apr/include -I\$(top_srcdir)/srclib/apr-util/include]) fi +echo $ac_n "${nl}Applying OS-specific hints for httpd ...${nl}" + AC_CANONICAL_SYSTEM case "$host_alias" in @@ -107,9 +108,35 @@ case "$host_alias" in ;; esac -dnl -dnl ## Preload our OS configuration -APACHE_PRELOAD +case "$host" in + *-apple-aux3*) + APR_SETVAR(APACHE_MPM, [prefork]) + APR_SETVAR(SINGLE_LISTEN_UNSERIALIZED_ACCEPT, [1]) + ;; + *-beos*) + APR_SETVAR(APACHE_MPM, [beos]) + APR_SETVAR(SINGLE_LISTEN_UNSERIALIZED_ACCEPT, [1]) + ;; + *os2_emx*) + APR_SETVAR(APACHE_MPM, [spmt_os2]) + APR_SETVAR(SINGLE_LISTEN_UNSERIALIZED_ACCEPT, [1]) + ;; + *-linux-*) + case `uname -r` in + 2.2* ) APR_SETVAR(SINGLE_LISTEN_UNSERIALIZED_ACCEPT, [1]) + ;; + * ) + ;; + esac + ;; + *486-*-bsdi* | *-netbsd* | *-freebsd* | *-apple-darwin* | *-dec-osf* | *-qnx) + APR_SETVAR(SINGLE_LISTEN_UNSERIALIZED_ACCEPT, [1]) + ;; + *-solaris2*) + dnl This is a hack -- we should be using AC_TRY_RUN instead + ap_platform_runtime_link_flag="-R" + ;; +esac dnl dnl Process command line arguments. This is done early in the process so the @@ -205,7 +232,7 @@ POST_SHARED_CMDS='echo ""' if test "$apache_need_shared" = "yes"; then $SHELL $ac_aux_dir/ltconfig --output=shlibtool --disable-static --srcdir=$ac_aux_dir --cache-file=./config.cache $ac_aux_dir/ltmain.sh - case $PLATFORM in + case "$host" in *-ibm-aix*) HTTPD_LDFLAGS="$HTTPD_LDFLAGS -Wl,-bE:$abs_srcdir/support/httpd.exp" SH_LDFLAGS="$SH_LDFLAGS -Wl,-bI:$abs_srcdir/support/httpd.exp" |