]> granicus.if.org Git - apache/commitdiff
For some reason AC_PREFIX_DEFAULT must not be called before the apr
authorAaron Bannert <aaron@apache.org>
Thu, 28 Feb 2002 15:44:43 +0000 (15:44 +0000)
committerAaron Bannert <aaron@apache.org>
Thu, 28 Feb 2002 15:44:43 +0000 (15:44 +0000)
m4 files are included. This fixes builds on autoconf 2.52 again.

Obtained from:  Sander Striker
Submitted by: Thom May <thom@planetarytramp.net>
Reviewed by: Aaron Bannert

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93639 13f79535-47bb-0310-9956-ffa450edef68

configure.in

index 1f2a4619c22822e5e4230388b69366892e6822ec..e670c00ab1f022d5fcc1ae970e7e1023005c4026 100644 (file)
@@ -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)