apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s.@apache.org
Subject svn commit: r1478954 - /apr/apr/trunk/configure.in
Date Fri, 03 May 2013 20:09:08 GMT
Author: sf
Date: Fri May  3 20:07:53 2013
New Revision: 1478954

URL: http://svn.apache.org/r1478954
Log:
Trick autoconf into printing the correct default prefix in the help

The defaults of some dirs like libexecdir are still not printed correctly,
though.

PR: 54032

Modified:
    apr/apr/trunk/configure.in

Modified: apr/apr/trunk/configure.in
URL: http://svn.apache.org/viewvc/apr/apr/trunk/configure.in?rev=1478954&r1=1478953&r2=1478954&view=diff
==============================================================================
--- apr/apr/trunk/configure.in (original)
+++ apr/apr/trunk/configure.in Fri May  3 20:07:53 2013
@@ -180,6 +180,9 @@ AC_MSG_NOTICE([APR Version: ${APR_DOTTED
 dnl Enable the layout handling code, then reparse the prefix-style
 dnl arguments due to autoconf being a PITA.
 APR_ENABLE_LAYOUT(apr)
+dnl This must be synchronized to the prefix of the apr layout, to make
+dnl configure --help print the correct default.
+AC_PREFIX_DEFAULT([/usr/local/apr])
 APR_PARSE_ARGUMENTS
 
 dnl Set optional CC hints here in case autoconf makes an inappropriate choice.



Mime
View raw message