specific options. This should make this option work on more platforms with
other compilers.
*) AC_MSG_RESULT(yes)
CPPFLAGS="$CPPFLAGS -DMALLOCDEBUG"
- CFLAGS="-W -Wall -Wwrite-strings -pedantic -Wundef -Wpointer-arith -Wcast-align -Wnested-externs -g"
+ CFLAGS="$CFLAGS -g"
+ if test "$GCC" = "yes"; then
+ CFLAGS="$CFLAGS -W -Wall -Wwrite-strings -pedantic -Wundef -Wpointer-arith -Wcast-align -Wnested-externs"
+ fi
;;
esac ],
AC_MSG_RESULT(no)