+2007-01-29 Christian Persch <chpe@svn.gnome.org>
+
+ * macros2/gnome-compiler-flags.m4:
+ Fix --enable-cxx-warnings checks. Bug #360693.
+
2007-01-12 Shaun McCance <shaunm@gnome.org>
* macros2/gnome-autogen.sh:
AC_MSG_CHECKING(what warning flags to pass to the C++ compiler)
warnCXXFLAGS=
- if test "x$GCC" != xyes; then
- enable_compile_warnings=no
+ if test "x$GXX" != xyes; then
+ enable_cxx_warnings=no
fi
if test "x$enable_cxx_warnings" != "xno"; then
- if test "x$GCC" = "xyes"; then
+ if test "x$GXX" = "xyes"; then
case " $CXXFLAGS " in
*[\ \ ]-Wall[\ \ ]*) ;;
*) warnCXXFLAGS="-Wall -Wno-unused" ;;
AC_MSG_CHECKING(what language compliance flags to pass to the C++ compiler)
complCXXFLAGS=
if test "x$enable_iso_cxx" != "xno"; then
- if test "x$GCC" = "xyes"; then
+ if test "x$GXX" = "xyes"; then
case " $CXXFLAGS " in
*[\ \ ]-ansi[\ \ ]*) ;;
*) complCXXFLAGS="$complCXXFLAGS -ansi" ;;