diff options
author | jorton <jorton@13f79535-47bb-0310-9956-ffa450edef68> | 2004-02-01 16:42:44 +0000 |
---|---|---|
committer | jorton <jorton@13f79535-47bb-0310-9956-ffa450edef68> | 2004-02-01 16:42:44 +0000 |
commit | 0330485c8c24e3ffc407027ebc062dd90b3531ec (patch) | |
tree | eaacdb095730300ceaffbeacbfe4ba34b3e4de63 /configure.in | |
parent | f8563884c0c8adf8eeac9d02bd8aae6a66b240a8 (diff) | |
download | libapr-0330485c8c24e3ffc407027ebc062dd90b3531ec.tar.gz |
Remove "location detection" from apr-config:
* configure.in: Substitute APR_CONFIG_LOCATION as "build" or "source"
appropriately.
* apr-config.in: Set location to @APR_CONFIG_LOCATION@ rather than
fragile pwd/realpath guesswork; pick up and use APR_BUILD_DIR instead
of $thisdir.
* Makefile.in (apr-config.out): New target.
(install): Install apr-config.out instead of apr-config.
PR: 8867
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64888 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.in b/configure.in index e860d053f..1e537fe72 100644 --- a/configure.in +++ b/configure.in @@ -47,8 +47,13 @@ AC_SUBST(apr_builddir) if test "$apr_builddir" != "$apr_srcdir"; then USE_VPATH=1 + APR_CONFIG_LOCATION=build +else + APR_CONFIG_LOCATION=source fi +AC_SUBST(APR_CONFIG_LOCATION) + # Libtool might need this symbol -- it must point to the location of # the generated libtool script (not necessarily the "top" build dir). # |