+ enablestring=disable
+ { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
+echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
+ no_cache=0
+ # Check whether --enable-compat28 was given.
+if test "${enable_compat28+set}" = set; then
+ enableval=$enable_compat28;
+ if test "$enableval" = yes; then
+ ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
+ else
+ ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
+ fi
+
+else
+
+ LINE=`grep "WXWIN_COMPATIBILITY_2_8" ${wx_arg_cache_file}`
+ if test "x$LINE" != x ; then
+ eval "DEFAULT_$LINE"
+ else
+ no_cache=1
+ fi
+
+ ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8='$DEFAULT_WXWIN_COMPATIBILITY_2_8
+
+fi
+
+
+ eval "$ac_cv_use_compat28"
+ if test "$no_cache" != 1; then
+ echo $ac_cv_use_compat28 >> ${wx_arg_cache_file}.tmp
+ fi
+
+ if test "$WXWIN_COMPATIBILITY_2_8" = 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
+
+