From 831778df78134f4681dd4fbdf7c36fae2ecad98b Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 29 May 2006 00:24:05 +0000 Subject: [PATCH] use CFLAGS for GTK tests, not CXXFLAGS git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- configure.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.in b/configure.in index 47bddd854b..0c6aa6bdc1 100644 --- a/configure.in +++ b/configure.in @@ -2933,9 +2933,9 @@ libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config esac if test "$WXGTK20" = 1; then - save_CXXFLAGS="$CXXFLAGS" + save_CFLAGS="$CFLAGS" save_LIBS="$LIBS" - CXXFLAGS="$wx_cv_cflags_gtk $CXXFLAGS" + CFLAGS="$wx_cv_cflags_gtk $CFLAGS" LIBS="$LIBS $wx_cv_libs_gtk" dnl gtk_icon_size_lookup is not available in the GTK+ headers @@ -2975,7 +2975,7 @@ libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config AC_MSG_RESULT([no]) ]) - CXXFLAGS="$save_CXXFLAGS" + CFLAGS="$save_CFLAGS" LIBS="$save_LIBS" else if test "$wxUSE_UNICODE" = "yes"; then -- 2.45.2