summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorylavic <ylavic@13f79535-47bb-0310-9956-ffa450edef68>2021-09-18 13:34:03 +0000
committerylavic <ylavic@13f79535-47bb-0310-9956-ffa450edef68>2021-09-18 13:34:03 +0000
commitd7bbcdbf9f27395c95533d7a151196113fde25fe (patch)
treedd2901fc319ff841b603813cbd148c81d48a480c
parent7d5557b5678e4ac4423e0a77899bea6e8d290836 (diff)
downloadlibapr-util-d7bbcdbf9f27395c95533d7a151196113fde25fe.tar.gz
Merge r1478954 from trunk:
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 Submitted by: sf Reviewed by: ylavic git-svn-id: https://svn.apache.org/repos/asf/apr/apr-util/branches/1.6.x@1893417 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--configure.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 6f9755a6..9101d0f0 100644
--- a/configure.in
+++ b/configure.in
@@ -88,6 +88,9 @@ echo "APR-util Version: ${APRUTIL_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-util)
+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 load os-specific hints for apr-util