Skip to content

Commit 9a7b3b9

Browse files
committed
If --with-installbuilddir is not supplied, it unconditially overrides the value
set by APR_SET_LAYOUT. Disable that and stop showing an invalid default value. PR 56090. Patch provided by Michael Osipov. This fixes #11. Backport of r1839068 from trunk resp. r1839069 from 1.7.x git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1839070 13f79535-47bb-0310-9956-ffa450edef68
1 parent 3b75702 commit 9a7b3b9

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

Makefile.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ exec_prefix=@exec_prefix@
6363
bindir=@bindir@
6464
libdir=@libdir@
6565
includedir=@includedir@
66+
datadir=@datadir@
6667
installbuilddir=@installbuilddir@
6768

6869
# Create apr-config script suitable for the install tree

config.layout

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,7 @@
223223
libexecdir: ${exec_prefix}/lib/apr/modules
224224
mandir: ${exec_prefix}/share/man
225225
datadir: ${exec_prefix}/share/apr
226+
installbuilddir: ${datadir}/build-${APR_MAJOR_VERSION}
226227
includedir: ${exec_prefix}/include/apr-${APR_MAJOR_VERSION}
227228
localstatedir: ${prefix}/var/run
228229
runtimedir: ${prefix}/var/run

configure.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -272,8 +272,8 @@ AC_PROG_LIBTOOL
272272
;;
273273
esac
274274

275-
AC_ARG_WITH(installbuilddir, [ --with-installbuilddir=DIR location to store APR build files (defaults to '${datadir}/build')],
276-
[ installbuilddir=$withval ], [ installbuilddir="${datadir}/build-${APR_MAJOR_VERSION}" ] )
275+
AC_ARG_WITH(installbuilddir, [ --with-installbuilddir=DIR location to store APR build files],
276+
[ installbuilddir=$withval ] )
277277
AC_SUBST(installbuilddir)
278278

279279
AC_ARG_WITH(libtool, [ --without-libtool avoid using libtool to link the library],

0 commit comments

Comments
 (0)