diff --git a/configure b/configure index 30952104da..7b066ebda7 100755 --- a/configure +++ b/configure @@ -35658,11 +35658,7 @@ if test "$wxUSE_DEBUG_FLAG" = "no" ; then WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0" if test "$wxUSE_GTK" = 1 ; then - if test "$WXGTK2" = 1 ; then - CPPFLAGS="$CPPFLAGS -DG_DISABLE_CAST_CHECKS" - else - CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS" - fi + CPPFLAGS="$CPPFLAGS -DG_DISABLE_CAST_CHECKS" fi fi @@ -36929,7 +36925,7 @@ if test "$wxUSE_SOUND" = "yes"; then SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound" fi -if test "$WXGTK2" = 1; then +if test "$wxUSE_GTK" = 1; then if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then if test "$wxUSE_GTKPRINT" = "yes" ; then @@ -41123,12 +41119,8 @@ TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'` case "$TOOLKIT" in GTK) TOOLKIT_DESC="GTK+" - if test "$WXGTK2" = 1; then - if test "$WXGTK3" = 1; then - TOOLKIT_DESC="$TOOLKIT_DESC ${TOOLKIT_VERSION}" - else - TOOLKIT_DESC="$TOOLKIT_DESC 2" - fi + if test "$wxUSE_GTK" = 1; then + TOOLKIT_DESC="$TOOLKIT_DESC ${TOOLKIT_VERSION}" if test "$wxUSE_GTKPRINT" = "yes" ; then TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing"; fi diff --git a/configure.in b/configure.in index d7b4e58537..7787c0ad21 100644 --- a/configure.in +++ b/configure.in @@ -4778,11 +4778,7 @@ if test "$wxUSE_DEBUG_FLAG" = "no" ; then WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0" if test "$wxUSE_GTK" = 1 ; then - if test "$WXGTK2" = 1 ; then - CPPFLAGS="$CPPFLAGS -DG_DISABLE_CAST_CHECKS" - else - CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS" - fi + CPPFLAGS="$CPPFLAGS -DG_DISABLE_CAST_CHECKS" fi fi @@ -5215,7 +5211,7 @@ if test "$wxUSE_SOUND" = "yes"; then SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound" fi -if test "$WXGTK2" = 1; then +if test "$wxUSE_GTK" = 1; then if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then if test "$wxUSE_GTKPRINT" = "yes" ; then @@ -7763,12 +7759,8 @@ AC_SUBST(USE_DPI_AWARE_MANIFEST) case "$TOOLKIT" in GTK) TOOLKIT_DESC="GTK+" - if test "$WXGTK2" = 1; then - if test "$WXGTK3" = 1; then - TOOLKIT_DESC="$TOOLKIT_DESC ${TOOLKIT_VERSION}" - else - TOOLKIT_DESC="$TOOLKIT_DESC 2" - fi + if test "$wxUSE_GTK" = 1; then + TOOLKIT_DESC="$TOOLKIT_DESC ${TOOLKIT_VERSION}" if test "$wxUSE_GTKPRINT" = "yes" ; then TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing"; fi