+ echo "$as_me:$LINENO: checking for --with-gtk1" >&5
+echo $ECHO_N "checking for --with-gtk1... $ECHO_C" >&6
+ no_cache=0
+
+# Check whether --with-gtk1 or --without-gtk1 was given.
+if test "${with_gtk1+set}" = set; then
+ withval="$with_gtk1"
+
+ if test "$withval" = yes; then
+ ac_cv_use_gtk1='wxUSE_GTK1=yes'
+ else
+ ac_cv_use_gtk1='wxUSE_GTK1=no'
+ fi
+
+else
+
+ LINE=`grep "wxUSE_GTK1" ${wx_arg_cache_file}`
+ if test "x$LINE" != x ; then
+ eval "DEFAULT_$LINE"
+ else
+ no_cache=1
+ fi
+
+ ac_cv_use_gtk1='wxUSE_GTK1='$DEFAULT_wxUSE_GTK1
+
+fi;
+
+ eval "$ac_cv_use_gtk1"
+ if test "$no_cache" != 1; then
+ echo $ac_cv_use_gtk1 >> ${wx_arg_cache_file}.tmp
+ fi
+
+ if test "$wxUSE_GTK1" = yes; then
+ echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6
+ else
+ echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6
+ fi
+
+
+ echo "$as_me:$LINENO: checking for --with-gtk2" >&5
+echo $ECHO_N "checking for --with-gtk2... $ECHO_C" >&6
+ no_cache=0
+
+# Check whether --with-gtk2 or --without-gtk2 was given.
+if test "${with_gtk2+set}" = set; then
+ withval="$with_gtk2"
+
+ if test "$withval" = yes; then
+ ac_cv_use_gtk2='wxUSE_GTK2=yes'
+ else
+ ac_cv_use_gtk2='wxUSE_GTK2=no'
+ fi
+
+else
+
+ LINE=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
+ if test "x$LINE" != x ; then
+ eval "DEFAULT_$LINE"
+ else
+ no_cache=1
+ fi
+
+ ac_cv_use_gtk2='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
+
+fi;
+
+ eval "$ac_cv_use_gtk2"
+ if test "$no_cache" != 1; then
+ echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
+ fi
+
+ if test "$wxUSE_GTK2" = yes; then
+ echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6
+ else
+ echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6
+ fi
+
+