automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Modifying CFLAGS for 'make distcheck'


From: Braden McDaniel
Subject: Re: Modifying CFLAGS for 'make distcheck'
Date: Sat, 09 Feb 2008 03:58:46 -0500

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: <address@hidden>
<http://endoframe.com>                    Jabber: <address@hidden>






reply via email to

[Prev in Thread] Current Thread [Next in Thread]