WX_ARG_DISABLE(all-features,[ --disable-all-features disable all optional features to build minimal library], wxUSE_ALL_FEATURES)
+if test "$wxUSE_ALL_FEATURES" = "no"; then
+ dnl this is a bit ugly but currently we have no choice but to manually
+ dnl reset all the options with default value of auto if all features are to
+ dnl be disabled because we can't have an option with default value of
+ dnl "auto-or-no-if-wxUSE_ALL_FEATURES-is-disabled"
+ DEFAULT_wxUSE_MEDIACTRL=no
+fi
+
dnl ---------------------------------------------------------------------------
dnl port selection
dnl ---------------------------------------------------------------------------
AC_DEFINE(HAVE_WCSLEN)
fi
- AC_CHECK_FUNCS([wcsdup])
- AC_CHECK_FUNCS([strnlen])
+ AC_CHECK_FUNCS([wcsdup strnlen wcsnlen wcscasecmp wcsncasecmp])
dnl On HP-UX aCC need this define to find mbstrtowcs() &c
dnl Can't be used for g++ since the mbstate_t in wchar.h can conflict
SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
erase event exec font image minimal mobile \
mobile/wxedit mobile/styles render \
- shaped svg taborder vscroll widgets"
+ shaped svg taborder vscroll widgets wrapsizer"
if test "$wxUSE_MONOLITHIC" != "yes"; then
SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"