--disable-vararg_macros don't use vararg macros, even if they are supported
--enable-universal_binary[=SDK] create Mac PowerPC and Intel Universal binary (not yet working)
--enable-compat24 enable wxWidgets 2.4 compatibility
- --disable-compat26 disable wxWidgets 2.6 compatibility
+ --enable-compat26 enable wxWidgets 2.6 compatibility
+ --disable-compat28 disable wxWidgets 2.8 compatibility
--disable-rpath disable use of rpath for uninstalled builds
--enable-intl use internationalization system
--enable-config use wxConfig (and derived) classes
fi
- enablestring=disable
+ enablestring=enable
{ echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
no_cache=0
fi
+ 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
+
+
enablestring=
{ echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
WXWIN_COMPATIBILITY_2_6="yes"
fi
-if test "x$WXWIN_COMPATIBILITY_2_6" != "xno"; then
+if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
cat >>confdefs.h <<\_ACEOF
#define WXWIN_COMPATIBILITY_2_6 1
_ACEOF
+
+ WXWIN_COMPATIBILITY_2_8="yes"
+fi
+
+if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
+ cat >>confdefs.h <<\_ACEOF
+#define WXWIN_COMPATIBILITY_2_8 1
+_ACEOF
+
fi
echo " What level of wxWidgets compatibility should be enabled?"
echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-no}"
echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-yes}"
+echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
echo " Which libraries should wxWidgets use?"
echo " jpeg ${wxUSE_LIBJPEG-none}"