From: Aaron Bannert Date: Thu, 28 Feb 2002 15:44:43 +0000 (+0000) Subject: For some reason AC_PREFIX_DEFAULT must not be called before the apr X-Git-Tag: 2.0.33~79 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0573163b9fb94cf0f1f45d5c83aaba7feca612db;p=thirdparty%2Fapache%2Fhttpd.git For some reason AC_PREFIX_DEFAULT must not be called before the apr m4 files are included. This fixes builds on autoconf 2.52 again. Obtained from: Sander Striker Submitted by: Thom May Reviewed by: Aaron Bannert git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93639 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/configure.in b/configure.in index 1f2a4619c22..e670c00ab1f 100644 --- a/configure.in +++ b/configure.in @@ -5,7 +5,6 @@ dnl Use ./buildconf to produce a configure script dnl AC_PREREQ(2.13) -AC_PREFIX_DEFAULT(/usr/local/apache2) AC_INIT(ABOUT_APACHE) AC_CONFIG_HEADER(include/ap_config_auto.h) @@ -19,6 +18,11 @@ sinclude(srclib/apr/build/apr_network.m4) sinclude(srclib/apr/build/apr_threads.m4) sinclude(acinclude.m4) +dnl XXX we can't just use AC_PREFIX_DEFAULT because that isn't subbed in +dnl by configure until it is too late. Is that how it should be or not? +dnl Something seems broken here. +AC_PREFIX_DEFAULT(/usr/local/apache2) + dnl Get the layout here, so we can pass the required variables to apr dnl APACHE_ENABLE_LAYOUT AC_MSG_CHECKING(for chosen layout)