(clean): clean universal binary intermediate steps, too
[arla.git] / cf / prog-cc-flags.m4
blob298f120eb315173cf783e6ef7eb28a527277fa36
1 dnl
2 dnl $Id$
3 dnl
5 AC_DEFUN([AC_PROG_CC_FLAGS], [
6 AC_REQUIRE([AC_PROG_CC])dnl
7 AC_MSG_CHECKING(for $CC warning options)
8 if test "$GCC" = "yes"; then
9 dnl -Wbad-function-cast (is probably not useful)
10   extra_flags="-Wall -Wmissing-prototypes -Wpointer-arith -Wmissing-declarations -Wnested-externs"
11   CFLAGS="$CFLAGS $extra_flags"
12   AC_MSG_RESULT($extra_flags)
13 else
14   AC_MSG_RESULT(none)