Skip to content

Commit af4a414

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. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1839068 13f79535-47bb-0310-9956-ffa450edef68
1 parent 1b50180 commit af4a414

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
@@ -70,6 +70,7 @@ exec_prefix=@exec_prefix@
7070
bindir=@bindir@
7171
libdir=@libdir@
7272
includedir=@includedir@
73+
datadir=@datadir@
7374
installbuilddir=@installbuilddir@
7475

7576
LDADD_dbd_pgsql = @LDADD_dbd_pgsql@

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
@@ -286,8 +286,8 @@ AC_PROG_LIBTOOL
286286
;;
287287
esac
288288

289-
AC_ARG_WITH(installbuilddir, [ --with-installbuilddir=DIR location to store APR build files (defaults to '${datadir}/build')],
290-
[ installbuilddir=$withval ], [ installbuilddir="${datadir}/build-${APR_MAJOR_VERSION}" ] )
289+
AC_ARG_WITH(installbuilddir, [ --with-installbuilddir=DIR location to store APR build files],
290+
[ installbuilddir=$withval ] )
291291
AC_SUBST(installbuilddir)
292292

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

0 commit comments

Comments
 (0)