Sane installed twice (was Re: [sane-devel] epson scanner driving me crazy)

Major A andras@users.sourceforge.net
Sun, 27 Oct 2002 13:25:56 +0000


> I have added a test for sysconfdir = /usr/etc in configure. I think
> that's the most common mistake. Other directories like
> prefix=/opt/sane with sysconfdir=/opt/sane/etc would be intentional,
> so no warning is printed in this case.

Very good, but I have another idea that may be worth considering: the
only "common" configurations are:

- sysconfdir=$(prefix)/etc
- sysconfdir=/etc

I think that whenever SANE is configured with different sysconfdir
settings, we should issue a warning.

  Andras

===========================================================================
Major Andras
    e-mail: andras@users.sourceforge.net
    www:    http://andras.webhop.org/
===========================================================================