Return-Path: Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 4263 invoked by uid 500); 28 Feb 2002 13:20:07 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 4238 invoked by uid 500); 28 Feb 2002 13:20:07 -0000 Delivered-To: apmail-httpd-2.0-cvs@apache.org Date: Thu, 28 Feb 2002 13:19:54 +0000 From: Thom May To: dev@httpd.apache.org Cc: httpd-2.0-cvs@apache.org Subject: Re: cvs commit: httpd-2.0 configure.in acinclude.m4 Message-ID: <20020228131954.GB14699@eustasy> References: <20020228013811.74158.qmail@icarus.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20020228013811.74158.qmail@icarus.apache.org> User-Agent: Mutt/1.3.27i X-Operating-System: Linux/2.4.18-pre1-xfs (i686) X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N * aaron@apache.org (aaron@apache.org) wrote : > aaron 02/02/27 17:38:11 > > Modified: . configure.in acinclude.m4 > Log: > Fix a typo in the default cgidir variable. > Set a couple more defaults if they haven't already been set, just > as a precaution. > Sadly this breaks under autoconf 2.52 - AC_PREFIX_DEFAULT needs to be run after the apr m4 files are included, not before. (buildconf chokes like this otherwise: Creating configure ... rebuilding srclib/pcre/configure rebuilding include/ap_config_auto.h.in configure.in:8: error: m4_defn: undefined macro: _m4_divert_diversion acgeneral.m4:616: AC_PREFIX_DEFAULT is expanded from... configure.in:8: the top level autoconf: tracing failed rebuilding configure configure.in:8: error: m4_defn: undefined macro: _m4_divert_diversion acgeneral.m4:616: AC_PREFIX_DEFAULT is expanded from... configure.in:8: the top level Sander Striker spotted this one. Patch attached to move it back, and add the warning back in. Cheers, -Thom Index: configure.in =================================================================== RCS file: /home/cvspublic/httpd-2.0/configure.in,v retrieving revision 1.204 diff -u -u -r1.204 configure.in --- configure.in 28 Feb 2002 02:56:15 -0000 1.204 +++ configure.in 28 Feb 2002 13:18:32 -0000 @@ -5,7 +5,6 @@ dnl AC_PREREQ(2.13) -AC_PREFIX_DEFAULT(/usr/local/apache2) AC_INIT(ABOUT_APACHE) AC_CONFIG_HEADER(include/ap_config_auto.h) @@ -18,6 +17,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