Re: Turn off C compiler warnings in automake

2015-06-22 Thread Thomas Jahns
Hello, On 06/22/15 15:44, Alex Vong wrote: Is there any easy way to turn off c compiler warnings (those printed to stderr) portably? From my point of view, the easy way is to write portable code which does not generate warnings. This is also the preferred and recommended way. But automake i

SUBDIRS without installing library inside it

2015-06-22 Thread Zesen Qian
Hello, (I sent it hours ago but it 's not showing up in archive, so the resending. sorry if it's duplicated.) I want to nest a third-party library in my software and statically link it. The library is distributed in the autotools style. So the only thing I have to do is adding "SUBDIRS = libabc" to

SUBDIRS without installing library inside it

2015-06-22 Thread Zesen Qian
Hello, I want to nest a third-party library in my software and statically link it. The library is distributed in the autotools style. So the only thing I have to do is adding "SUBDIRS = libabc" to the top-level Makefile.am, and everything works. The problem is that, in libabc/Makefile.am there is

Turn off C compiler warnings in automake

2015-06-22 Thread Alex Vong
Hi everyone, Is there a portable way to silent C compiler warnings in automake? I think of 2 ways of doing it but both ways have serious limitations. 1. hand-craft automake rules with `2>/dev/null' appended on the command limitation: tedious, defeat the purpose of using automake (not _auto_ enoug