add compilation options to allow compiling in just the selected wxUniv themes and not all of them (which is still the default)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2006-09-28 22:55:28 +00:00
parent 91885f468a
commit 4353a8df6e
16 changed files with 302 additions and 64 deletions

View File

@@ -864,6 +864,10 @@ WX_ARG_WITH(gnomevfs, [ --with-gnomevfs use GNOME VFS for associat
WX_ARG_WITH(hildon, [ --with-hildon use Hildon framework for Nokia 770], wxUSE_LIBHILDON)
WX_ARG_WITH(opengl, [ --with-opengl use OpenGL (or Mesa)], wxUSE_OPENGL)
if test "$wxUSE_UNIVERSAL" = "yes"; then
AC_ARG_WITH(themes, [ --with-themes=all|list use only the specified comma-separated list of wxUniversal themes], [wxUNIV_THEMES="$withval"])
fi
fi
dnl for GUI only
@@ -7337,6 +7341,17 @@ done
if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
WXUNIV=1
case "$wxUNIV_THEMES" in
''|all)
AC_DEFINE(wxUSE_ALL_THEMES)
;;
*)
for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
AC_DEFINE_UNQUOTED(wxUSE_THEME_$t)
done
esac
else
WXUNIV=0
fi