From 06f7690534bf098aa294b46dc757bf8223e71b62 Mon Sep 17 00:00:00 2001 From: Josh Coalson Date: Tue, 5 Jun 2001 22:36:45 +0000 Subject: [PATCH] conditionalize gcc-specific flags --- configure.in | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/configure.in b/configure.in index 19068609..bef1b8e2 100644 --- a/configure.in +++ b/configure.in @@ -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 \ -- 2.34.1