]> git.saurik.com Git - wxWidgets.git/commitdiff
fix incomplete change from rev 1.1121
authorPaul Cornett <paulcor@bullseye.com>
Tue, 23 May 2006 05:58:51 +0000 (05:58 +0000)
committerPaul Cornett <paulcor@bullseye.com>
Tue, 23 May 2006 05:58:51 +0000 (05:58 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

configure.in

index 3ad46802065c3f4cb6e2b0a33b4158468e399484..4c0cadd365dfd778bb59813c1963f99a4ec43b8b 100644 (file)
@@ -2928,9 +2928,9 @@ libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
         esac
 
         if test "$WXGTK20" = 1; then
-            save_CFLAGS="$CFLAGS"
+            save_CXXFLAGS="$CXXFLAGS"
             save_LIBS="$LIBS"
-            CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
+            CXXFLAGS="$wx_cv_cflags_gtk $CXXFLAGS"
             LIBS="$LIBS $wx_cv_libs_gtk"
 
             dnl gtk_icon_size_lookup is not available in the GTK+ headers
@@ -2970,7 +2970,7 @@ libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
                             AC_MSG_RESULT([no])
                            ])
 
-            CFLAGS="$save_CFLAGS"
+            CXXFLAGS="$save_CXXFLAGS"
             LIBS="$save_LIBS"
         else
             if test "$wxUSE_UNICODE" = "yes"; then