You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by mi...@apache.org on 2020/03/10 20:25:16 UTC
svn commit: r1875057 - in /apr/apr/branches/1.7.x: ./ CHANGES configure.in
Author: minfrin
Date: Tue Mar 10 20:25:16 2020
New Revision: 1875057
URL: http://svn.apache.org/viewvc?rev=1875057&view=rev
Log:
Backport r1478954.
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/branches/1.7.x/ (props changed)
apr/apr/branches/1.7.x/CHANGES
apr/apr/branches/1.7.x/configure.in
Propchange: apr/apr/branches/1.7.x/
------------------------------------------------------------------------------
Merged /apr/apr/trunk:r1478954
Modified: apr/apr/branches/1.7.x/CHANGES
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.7.x/CHANGES?rev=1875057&r1=1875056&r2=1875057&view=diff
==============================================================================
--- apr/apr/branches/1.7.x/CHANGES [utf-8] (original)
+++ apr/apr/branches/1.7.x/CHANGES [utf-8] Tue Mar 10 20:25:16 2020
@@ -1,6 +1,9 @@
-*- coding: utf-8 -*-
Changes for APR 1.7.1
+ *) Trick autoconf into printing the correct default prefix in the help.
+ [Stefan Fritsch]
+
*) Don't try to use PROC_PTHREAD by default when cross compiling.
[Yann Ylavic]
Modified: apr/apr/branches/1.7.x/configure.in
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.7.x/configure.in?rev=1875057&r1=1875056&r2=1875057&view=diff
==============================================================================
--- apr/apr/branches/1.7.x/configure.in (original)
+++ apr/apr/branches/1.7.x/configure.in Tue Mar 10 20:25:16 2020
@@ -172,6 +172,9 @@ echo "APR Version: ${APR_DOTTED_VERSION}
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.