[Lemon-commits] [lemon_svn] ladanyi: r2480 - hugo/trunk
Lemon SVN
svn at lemon.cs.elte.hu
Mon Nov 6 20:52:59 CET 2006
Author: ladanyi
Date: Wed Jan 25 16:03:45 2006
New Revision: 2480
Modified:
hugo/trunk/configure.ac
Log:
Do not append -Wall -W to CXXFLAGS when it is set on the commandline.
Modified: hugo/trunk/configure.ac
==============================================================================
--- hugo/trunk/configure.ac (original)
+++ hugo/trunk/configure.ac Wed Jan 25 16:03:45 2006
@@ -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
More information about the Lemon-commits
mailing list