diff options
Diffstat (limited to 'apr-config.in')
-rw-r--r-- | apr-config.in | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/apr-config.in b/apr-config.in index 643d0d79d..ed7bbfabb 100644 --- a/apr-config.in +++ b/apr-config.in @@ -95,6 +95,7 @@ Known values for OPTION are: --ldflags print linker flags --libs print additional libraries to link against --srcdir print APR source directory + --installbuilddir print APR build helper directory --link-ld print link switch(es) for linking to APR --link-libtool print the libtool inputs for linking to APR --shlib-path-var print the name of the shared library path env var @@ -207,6 +208,17 @@ while test $# -gt 0; do echo $APR_SOURCE_DIR exit 0 ;; + --installbuilddir) + if test "$location" = "installed"; then + echo "${installbuilddir}" + elif test "$location" = "source"; then + echo "$APR_SOURCE_DIR/build" + else + # this is for VPATH builds + echo "$thisdir/build" + fi + exit 0 + ;; --version) echo $APR_DOTTED_VERSION exit 0 |