protux-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Protux-devel] getting installation dir from autostuff


From: Martin Herren
Subject: Re: [Protux-devel] getting installation dir from autostuff
Date: Sat, 7 Dec 2002 13:47:39 +0100

On Sat, 07 Dec 2002 10:32:33 +0000
Luciano Giordana <address@hidden> wrote:

> > if now you compile it with
> >     gcc program.c -o program -D INSTALLPATH=\"/usr/local/bin\"
> 
> that's the point. I'd like to know if autostuff is defines some "INSTALLPATH" 
> variable, and which it is 
> 
> so I will remove the literal "/usr/local/" from GlobalProperties.cc and 
> replace it with a precompiler macro/variable

isn't "/usr/local/" defined in an autoconf variable called PREFIX or something 
like that ?
At least it can be overriden by calling the configure script with
        ./configure --prefix="your/new/prefix"
but by default it usually is /usr/local


-- 
Open your Windows - Free your Mind - Enjoy
http://gnuwin.epfl.ch

Martin Herren                             +41 (0)79 746 57 83
OpenPGP Public key @ http://www.on-the-web.ch/sputnik/gpg.asc

Attachment: pgpKU7pevq0ZA.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]