diff -r a64e4735bda6 -r b0b3fa857d72 configure.ac --- a/configure.ac Wed Jan 25 14:58:04 2006 +0000 +++ b/configure.ac Wed Jan 25 15:03:45 2006 +0000 @@ -6,6 +6,8 @@ AC_CONFIG_HEADERS([config.h lemon/config.h]) AC_PREREQ([2.59]) +lx_cmdline_cxxflags_set=${CXXFLAGS+set} + dnl Checks for programs. AC_PROG_CXX AC_PROG_CXXCPP @@ -13,7 +15,7 @@ AC_DISABLE_SHARED AC_PROG_LIBTOOL -if test $CXX != icc -a $CXX != icpc; then +if test x"$lx_cmdline_cxxflags_set" != x"set" -a "$GXX" = yes; then CXXFLAGS="$CXXFLAGS -Wall -W" fi