[sane-devel] [PATCH] undef linux before defining STRINGIFY

Olaf Meeuwissen olaf.meeuwissen at avasys.jp
Wed Jun 10 23:06:46 UTC 2015

Niels Ole Salscheider writes:

> On Wednesday 10 June 2015, 08:38:53, Olaf Meeuwissen wrote:
>> [...] 
>> The double quotes in Makefile.am are eaten by the shell.  You would also
>> need to change the above to
>>   -DLIBDIR="\"$(libdir)/sane\""
>> in backend/Makefile.am and run autoreconf to update the rest of the
>> build system to make my suggestion work.
> I have sent an updated patch. I guess the build system is re-generated once 
> before each release?

It should.

However, to prevent the need to update the build system for all other
developers it is nice to include the changes to backend/Makefile.in in
the same patch.  In this particular case it should be okay to edit that
file directly and make the same change there.

# Personally I am in favour of nuking *all* generated files from the
# version control system.

Hope this helps,
Olaf Meeuwissen, LPIC-2           FLOSS Engineer -- AVASYS CORPORATION
FSF Associate Member #1962               Help support software freedom

More information about the sane-devel mailing list