diff options
-rw-r--r-- | configure.ac | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 62b98c73..4870f131 100644 --- a/configure.ac +++ b/configure.ac @@ -80,7 +80,7 @@ dnl Largefile support AC_SYS_LARGEFILE dnl icc claims to be GCC compatible, but use other flags for warnings -if eval "test x$GCC = xyes -a $CC != icc"; then +if eval 'test "x$GCC" = "xyes" -a "$CC" != "icc"'; then for flag in \ -W \ -Wall \ @@ -100,7 +100,7 @@ if eval "test x$GCC = xyes -a $CC != icc"; then done fi dnl icc has special warning flags -if eval "test x$CC = xicc"; then +if eval 'test "x$CC" = "xicc"'; then for flag in \ -Wall \ -Wmissing-prototypes \ |