You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by sf...@apache.org on 2013/05/03 22:09:08 UTC

svn commit: r1478954 - /apr/apr/trunk/configure.in

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.