]> granicus.if.org Git - apache/commitdiff
Allow all parts of Apache 2.0 to build when --srcdir is used. This
authorRyan Bloom <rbb@apache.org>
Mon, 9 Jul 2001 02:31:09 +0000 (02:31 +0000)
committerRyan Bloom <rbb@apache.org>
Mon, 9 Jul 2001 02:31:09 +0000 (02:31 +0000)
required exposing a build directory and a source directory to all parts
of Apache's build system.  It also required a small hack in APR-util, if
we are using the bundled Expat, and we are using VPATH support, then we
have hard-coded the xml/expat location.  I couldn't figure out how to
allow the configure script to determine the correct location.  I added a
comment, but if somebody else figures it out, we should fix that at some
point.

PR: 7630

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89517 13f79535-47bb-0310-9956-ffa450edef68

configure.in
server/Makefile.in
support/Makefile.in

index cc4c0b9ebe3688ae0fb12b216dc5ec869a9bed36..a95ce36415714be9b15b55dd90fd733cb0b81f64 100644 (file)
@@ -296,10 +296,10 @@ AC_ARG_WITH(suexec-umask,
 
 dnl AP_LIB_DIRS specifies the additional libs from srclib/ that we need
 dnl AP_LIBS specifies the actual libraries. note we have some required libs.
-AP_LIBS="$abs_srcdir/srclib/pcre/libpcre.la $abs_srcdir/srclib/apr-util/libaprutil.la $AP_LIBS"
+AP_LIBS="$abs_builddir/srclib/pcre/libpcre.la $abs_builddir/srclib/apr-util/libaprutil.la $AP_LIBS"
 
 dnl APR should go after the other libs, so the right symbols can be picked up
-AP_LIBS="$AP_LIBS $abs_srcdir/srclib/apr/libapr.la"
+AP_LIBS="$AP_LIBS $abs_builddir/srclib/apr/libapr.la"
 APACHE_SUBST(AP_LIB_DIRS)
 APACHE_SUBST(AP_LIBS)
 
index 2980d5af88e399c8909325c6fec0c99da6e87777..0d9864ded79a33ffabe978b84dcc975d9bd9edb7 100644 (file)
@@ -32,8 +32,8 @@ test_char.h: gen_test_char
 
 util.lo: test_char.h
 
-EXPORT_FILES = $(top_srcdir)/srclib/apr/apr.exports \
-       $(top_srcdir)/srclib/apr-util/aprutil.exports \
+EXPORT_FILES = $(top_builddir)/srclib/apr/apr.exports \
+       $(top_builddir)/srclib/apr-util/aprutil.exports \
        $(TARGET_EXPORTS)
 
 delete-exports:
index 3a74435ea0e47a1402b5de176ec80320ea75f1eb..dba34417d70a8f7973d789a2e2deeaa2af77d818 100644 (file)
@@ -6,8 +6,8 @@ TARGETS  = $(PROGRAMS)
 
 PROGRAM_LDADD        = $(EXTRA_LDFLAGS) $(PROGRAM_DEPENDENCIES) $(EXTRA_LIBS)
 PROGRAM_DEPENDENCIES = \
-       $(top_srcdir)/srclib/apr-util/libaprutil.la \
-       $(top_srcdir)/srclib/apr/libapr.la
+       $(top_builddir)/srclib/apr-util/libaprutil.la \
+       $(top_builddir)/srclib/apr/libapr.la
 
 include $(top_srcdir)/build/rules.mk