[Top][All Lists]

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

Re: How do I write a file to default sysconfdir to /etc?

From: Jim Lynch
Subject: Re: How do I write a file to default sysconfdir to /etc?
Date: Wed, 24 Jan 2007 17:17:47 -0500
User-agent: Thunderbird (X11/20060911)

Hi, Ralf,

Thanks for the tips.  I'd really like a way to enable this for specific
applications, not as a site default.  I'm afraid of what others might
screw up if they didn't know the sysconf directory was fixed.  Providing
the ability to override that wouldn't help if you didn't know you had to
do it.

I'm assuming that there isn't a way to do it in or or some other local configuration.  If not, I'll just have
to go back to my cludgy way of adding my own rules to copy it to a hard
coded /etc, (Ugh).

Ralf Wildenhues wrote:
> Hello Jim,
> This is actually an Autoconf question.  I don't think that's easy to
> infer, though.
> * Jim Lynch wrote on Wed, Jan 24, 2007 at 07:13:41PM CET:
>> [...] if I do a ./configure
>> --sysconfdir=/etc I get what I want.  However as I advance in age, I
>> forget more than I used to so remembering to add that parameter
> [...]
> Remember it for all applications that use Autoconf:
>   echo sysconfdir=/etc  >>/usr/local/share/
> or, if you can still be able to override it from the command line, use
> this line:
>   test "$sysconfdir" = '${prefix}/etc' && sysconfdir=/etc
> Here's more information:
> <>
> Hope that helps.
> Cheers,
> Ralf

reply via email to

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