You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Lars Eilebrecht <La...@unix-ag.org> on 1998/04/19 17:38:44 UTC

[PATCH] configure --compat

Hi,

 configure --prefix=/foo/bar --compat

fails, because --compat has a hardcoded prefix (/usr/local/apache)
which overrides --prefix if it was given on the command line
before the --compat switch.

-snip-
--- configure   Sun Apr 19 17:28:23 1998
+++ configure.new       Sun Apr 19 17:27:41 1998
@@ -346,7 +346,7 @@
             customized_includedir=1
             ;;
         --compat) 
-            prefix='/usr/local/apache'
+            prefix="$prefix"
             exec_prefix='$prefix'
             bindir='$exec_prefix/bin'
             sbindir='$exec_prefix/bin'

-snap-


ciao...
-- 
Lars Eilebrecht                      - RFC 527: "Beware the ARPANET, my son;
sfx@unix-ag.org                  - The bits that byte, the heads that scratch;"
http://www.home.unix-ag.org/sfx/


Re: [PATCH] configure --compat

Posted by Martin Kraemer <Ma...@mch.sni.de>.
Yep! That's what I tried to achieve as well (and failed before).
+1.

    Martin
On Sun, Apr 19, 1998 at 06:38:44PM +0200, Lars Eilebrecht wrote:
> Hi,
> 
>  configure --prefix=/foo/bar --compat
> 
> fails, because --compat has a hardcoded prefix (/usr/local/apache)
> which overrides --prefix if it was given on the command line
> before the --compat switch.
-- 
| S I E M E N S |  <Ma...@mch.sni.de>  |      Siemens Nixdorf
| ------------- |   Voice: +49-89-636-46021     |  Informationssysteme AG
| N I X D O R F |   FAX:   +49-89-636-44994     |   81730 Munich, Germany
~~~~~~~~~~~~~~~~My opinions only, of course; pgp key available on request