autoconf
[Top][All Lists]
Advanced

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

Re: Which variable expands to /var?


From: Jules Colding
Subject: Re: Which variable expands to /var?
Date: Thu, 07 Feb 2008 11:41:20 +0100

On Thu, 2008-02-07 at 12:37 +0200, Bernd Jendrissek wrote:
> On Feb 7, 2008 11:40 AM, Jules Colding <address@hidden> wrote:
> > I'm trying to find the autoconf variable that would expand to "/var".
> > Which one might that be?
> 
> Typically that would be --localstatedir, which your script and
> Makefiles see as ${localstatedir}.
> 
> Note that ./configure defaults this to ${prefix}/var, but if you're
> building a binary package for a distribution you'd use
> --localstatedir=/var.

Yes, I've tried that one, but I found it annoying that I had to define
it at configure time to get rid of the pre-pended ${prefix}.


Thanks,
  jules






reply via email to

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