On Sat, 2008-02-09 at 19:47 +1100, Erik de Castro Lopo wrote:
> Hi all,
> 
> I am a big fan of 'make distcheck' and also a fan of compiling with
> gcc's -Werrror flag. Most of my configure.ac scripts also have a
> --enable-gcc-werror options so that I can use -Werror while developing
> but ship tarballs without it.
> 
> So now I had this great idea. Wouldn't it be great if I could tell
> 'make distcheck' use './configure --enable-gcc-werror'!
> 
> Anyone have a clue on how to do this?

DISTCHECK_CONFIGURE_FLAGS = --enable-gcc-werror

in your top-level Makefile.am.

-- 
Braden McDaniel                           e-mail: <[EMAIL PROTECTED]>
<http://endoframe.com>                    Jabber: <[EMAIL PROTECTED]>




Reply via email to