In regard to: Re: gnucash configuration, [EMAIL PROTECTED] said (at 2:51pm on...:

>It's been rumoured that Matthew Condell said:
>> 
>> It's been rumoured that Dave Peticolas said:
>> > Anyway, in looking into these things, I noticed
>> > that we have a config variable GNC_CONFIGDIR
>> > which we really aren't using. There is a note
>> > in Makefile.in to the effect that it ends up
>> > being /etc/gnucash and that this is a bad place
>> > to put config files. Why is that? Seems like
>> > a fine place to put config files.
>> 
>> And linas responded:
>> >3) /etc is a kind-of old-fashioned place to put global config files.
>> >   A slightly newer-fangled place is /usr/share/gnucash ... 
>> 
>> On FreeBSD the preferred place for config files is /usr/local/etc
>> Maybe we should be able to set the config directory using configure
>> arguments. (or can that already be done?)
>
>Ugh. In some ways, configure is a real can of worms.  If you say
>configure --prefix=/usr
>then gnucash gets installed in /usr/bin, and so on.   If you don't
>say --prefix then the default is /usr/local/.. and so on.  Ugh.
>I am not sure just how to fix this.

AC_PREFIX_PROGRAM(guile)

would cause configure to default to using the same prefix that it finds
`guile' under.  If you think some other program is more appropriate to use
as our "key" for what *default* prefix to use, use that instead.

Otherwise, you could steal the `--with-layout=<foo>' code from Apache, and
come up with different layouts to match what people want.

Tim
-- 
Tim Mooney                              [EMAIL PROTECTED]
Information Technology Services         (701) 231-1076 (Voice)
Room 242-J1, IACC Building              (701) 231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164


--
Gnucash Developer's List 
To unsubscribe send empty email to: [EMAIL PROTECTED]

Reply via email to