From: Ryan Bloom Date: Mon, 3 Sep 2001 03:07:42 +0000 (+0000) Subject: Fix the interaction between --prefix and --with-layout. We were X-Git-Tag: 2.0.26~338 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=34322e854240ef4893c96b6e2ae102302da09de6;p=apache Fix the interaction between --prefix and --with-layout. We were over-writing the specified prefix during --with-layout processing. By keeping a copy of the specified prefix, and resetting it after the layout processing, this is fixed. PR: 7755 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90876 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/configure.in b/configure.in index 19027d4fcf..61e8fb8126 100644 --- a/configure.in +++ b/configure.in @@ -43,6 +43,8 @@ test "$exec_prefix" = "NONE" && exec_prefix='${prefix}' dnl ## Run configure for packages Apache uses +orig_prefix="$prefix" + echo $ac_n "${nl}Configuring Apache Portable Runtime library ...${nl}" APR_SUBDIR_CONFIG(srclib/apr, "$apache_apr_flags --prefix=$prefix") @@ -239,6 +241,7 @@ AC_ARG_ENABLE(maintainer-mode,[ --enable-maintainer-mode Turn on debugging and ])dnl APACHE_ENABLE_LAYOUT +prefix="$orig_prefix" APACHE_ENABLE_MODULES dnl reading config stubs