+ bool ' Ffmpeg has been compiled with mp3lame support' CONFIG_WITHFFMPEGMP3LAME
+ bool ' Ffmpeg has been compiled with faac support' CONFIG_WITHFFMPEGFAAC
+ string ' Ffmpeg tree for static linking' CONFIG_WITHFFMPEGTREE ""
+fi
+bool 'Faad codec' CONFIG_FAAD
+if [ "$CONFIG_FAAD" = "y" ]; then
+ string ' Faad tree for static linking' CONFIG_WITHFAADTREE ""
+fi
+bool 'QuickTime module' CONFIG_QUICKTIME
+bool 'A/52 support with liba52' CONFIG_A52
+if [ "$CONFIG_A52" = "y" ]; then
+ string ' A52 headers and libraries' CONFIG_WITHA52 ""
+ string ' A52dec tree for static linking' CONFIG_WITHA52TREE ""
+fi
+bool 'DTS Coherent Acoustics support with libdts' CONFIG_DTS
+if [ "$CONFIG_DTS" = "y" ]; then
+ string ' Libdts tree for static linking' CONFIG_WITHDTSTREE ""
+fi
+bool 'Flac decoder support' CONFIG_FLAC
+bool 'Libmpeg2 decoder support' CONFIG_LIBMPEG2
+if [ "$CONFIG_LIBMPEG2" = "y" ]; then
+ string ' Libmpeg2 tree for static linking' CONFIG_WITHLIBMPEG2TREE ""
+fi
+bool 'Vorbis decoder support' CONFIG_VORBIS
+bool 'Tremor decoder support' CONFIG_TREMOR
+bool 'Speex decoder support' CONFIG_SPEEX
+bool 'Experimental tarkin codec' CONFIG_TARKIN
+if [ "$CONFIG_TARKIN" = "y" ]; then
+ string ' Tarkin tree for static linking' CONFIG_WITHTARKINTREE ""
+fi
+bool 'Experimental theora codec' CONFIG_THEORA
+bool 'CMML support' CONFIG_CMML
+endmenu
+
+mainmenu_option next_comment
+comment 'Miscellaneous options'
+bool 'UTF8 support' CONFIG_UTF8
+bool 'GNU Portable Threads (Pth) support' CONFIG_PTH
+bool 'State threads (st) support' CONFIG_ST
+bool 'Gprof profiling' CONFIG_GPROF
+bool 'Cprof profiling' CONFIG_CPROF
+# TODO: change to a tristate choice
+# bool 'Set endianness' CONFIG_ENDIANNESS
+bool 'Mozilla plugin' CONFIG_MOZILLA
+if [ "$CONFIG_MOZILLA" = "y" ]; then
+ string ' Path to win32 mozilla sdk' CONFIG_WITHMOZILLASDKPATH ""
+fi
+bool 'Build test modules' CONFIG_TESTSUITE
+bool 'Enable http daemon' CONFIG_HTTPD
+# TODO: --disable-plugins
+endmenu
+
+mainmenu_option next_comment
+comment 'Optimization options'
+# TODO: add --with-tuning=ARCH
+bool 'Compiler optimizations' CONFIG_OPTIMIZATIONS
+if [ "$CONFIG_MAC" = "y" ]; then
+ bool 'AltiVec optimizations' CONFIG_ALTIVEC