Skip to content

Commit

Permalink
If --with-installbuilddir is not supplied, it unconditially overrides…
Browse files Browse the repository at this point in the history
… 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
  • Loading branch information
Rainer Jung committed Aug 25, 2018
1 parent 1b50180 commit af4a414
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ exec_prefix=@exec_prefix@
bindir=@bindir@
libdir=@libdir@
includedir=@includedir@
datadir=@datadir@
installbuilddir=@installbuilddir@

LDADD_dbd_pgsql = @LDADD_dbd_pgsql@
Expand Down
1 change: 1 addition & 0 deletions config.layout
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@
libexecdir: ${exec_prefix}/lib/apr/modules
mandir: ${exec_prefix}/share/man
datadir: ${exec_prefix}/share/apr
installbuilddir: ${datadir}/build-${APR_MAJOR_VERSION}
includedir: ${exec_prefix}/include/apr-${APR_MAJOR_VERSION}
localstatedir: ${prefix}/var/run
runtimedir: ${prefix}/var/run
Expand Down
4 changes: 2 additions & 2 deletions configure.in
Original file line number Diff line number Diff line change
Expand Up @@ -286,8 +286,8 @@ AC_PROG_LIBTOOL
;;
esac

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

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

0 comments on commit af4a414

Please sign in to comment.