On Sat, 17 Jun 2000, Peter Eisentraut wrote:

> Mo DeJong writes:
> 
> > How about merging them into a more generic AC_PROG_COMPILER_G macro
> > that could test any compiler for the -g flag?
> 
> That would be nice because then we can undefine it so that AC_PROG_CC et
> al don't run it. (or any other semi-stable interface to avoid automatic -g
> in CFLAGS ...)

That does not seem like a very good idea. The default should be
-g -02 so that a binary will run with some optimizations and
still be debugable in case of a crash. If folks want to do
a release, then they can take out debug info an use more
optimizations in the Makefile or just set CFLAGS before
running configure.

Mo DeJong
Red Hat Inc

Reply via email to