httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thom May <>
Subject [PATCH] Pass all revelant build variables to sub-builds
Date Fri, 22 Feb 2002 23:15:03 GMT
when configuring apache2 using a layout, the necessary variables are not
passed to the configure processes for apr, apr-util and pcre.
This is a patch to correct this:
It moves the parsing of the layout to before the configure processes for
srclib starts, and it passes more variables to the child configures.
Thom May	 || [...] and the French an excuse to use their traditional	 || battle cry. -- Firebeard 
+44(0)7736773209 || "We Surrender, here, have my daughter."? -- Paul Tomblin

---	Fri Feb  1 23:22:29 2002
+++	Fri Feb 22 23:08:30 2002
@@ -41,6 +41,10 @@
 test "$prefix" = "NONE" && prefix='/usr/local/apache2'
 test "$exec_prefix" = "NONE" && exec_prefix='${prefix}'
+dnl Get the layout here, so we can pass the required variables to apr
 dnl ## Run configure for packages Apache uses
 dnl shared library support for these packages doesn't currently
@@ -52,15 +56,15 @@
 echo $ac_n "${nl}Configuring Apache Portable Runtime library ...${nl}"
-APR_SUBDIR_CONFIG(srclib/apr, "$apache_apr_flags --prefix=$prefix")
+APR_SUBDIR_CONFIG(srclib/apr, "$apache_apr_flags --prefix=$prefix --exec-prefix=$exec_prefix
--libdir=$libdir --bindir=$bindir")
 echo $ac_n "${nl}Configuring Apache Portable Runtime Utility library...${nl}"
-APR_SUBDIR_CONFIG(srclib/apr-util, "--with-apr=../apr --prefix=$prefix")
+APR_SUBDIR_CONFIG(srclib/apr-util, "--with-apr=../apr --prefix=$prefix --exec-prefix=$exec_prefix
--libdir=$libdir --bindir=$bindir")
 echo $ac_n "${nl}Configuring PCRE regular expression library ...${nl}"
-APR_SUBDIR_CONFIG(srclib/pcre, "--prefix=$prefix")
+APR_SUBDIR_CONFIG(srclib/pcre, "--prefix=$prefix --exec-prefix=$exec_prefix --libdir=$libdir
 echo $ac_n "${nl}Configuring Apache httpd ...${nl}"
@@ -277,7 +281,6 @@

View raw message