conditionalize gcc-specific flags

This commit is contained in:
Josh Coalson 2001-06-05 22:36:45 +00:00
parent 67bb28d858
commit 06f7690534

View File

@ -53,9 +53,12 @@ fi
CFLAGS='-I./include -I $(top_srcdir)/include -Wall -W'
if test x$debug = xtrue; then
CFLAGS="$CFLAGS -g -O0 -DDEBUG"
CFLAGS="$CFLAGS -g -O0 -DDEBUG"
else
CFLAGS="$CFLAGS -O3 -fomit-frame-pointer -funroll-loops -ffast-math -finline-functions -DNDEBUG"
CFLAGS="$CFLAGS -O3 -DNDEBUG"
if test x$GCC = xyes; then
CFLAGS="$CFLAGS -fomit-frame-pointer -funroll-loops -ffast-math -finline-functions"
fi
fi
AC_OUTPUT( Makefile \