Jeff Fulmer <jeff@xxxxxxxxxx> writes: > On Thu, Mar 04, 2004 at 05:20:34PM +0100, Jose Roman Bilbao wrote: >> Hi all, >> >> I have noticed that, by default, the C compiler is using flag -g. What >> should I indicate in configure.ac to avoid this issue?. >> >> Thanks >> > > You could always rewrite the CFLAGS. > > if test -n "$GCC"; then > CFLAGS="-02" > fi > AC_SUBST(CFLAGS) Which will override any value given by the caller, which is bad. Andreas. -- Andreas Schwab, SuSE Labs, schwab@xxxxxxx SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."