automake
[Top][All Lists]
Advanced

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

Modifying CFLAGS for 'make distcheck'


From: Erik de Castro Lopo
Subject: Modifying CFLAGS for 'make distcheck'
Date: Sat, 9 Feb 2008 19:47:06 +1100

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?

Cheers,
Erik
-- 
-----------------------------------------------------------------
Erik de Castro Lopo
-----------------------------------------------------------------
"Anyone who considers arithmetical methods of producing random
digits is, of course, in a state of sin." - John Von Neumann (1951)




reply via email to

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