-/* define the system to compile */
-#define __UNIX__ 1
-#define __LINUX__ 1
-/* #undef __SGI__ */
-/* #undef __HPUX__ */
-/* #undef __SYSV__ */
-/* #undef __SVR4__ */
-/* #undef __AIX__ */
-/* #undef __SUN__ */
-/* #undef __SOLARIS__ */
-/* #undef __SUNOS__ */
-/* #undef __ALPHA__ */
-/* #undef __OSF__ */
-/* #undef __BSD__ */
-/* #undef __FREEBSD__ */
-/* #undef __VMS__ */
-/* #undef __ULTRIX__ */
-/* #undef __DATA_GENERAL__ */
-
-/* ------------------------------------------------------------------------ */
-/* compiler options */
-/* ------------------------------------------------------------------------ */
-
-/*
- * Supports bool type
- */
-#define HAVE_BOOL 1
-
-/* ------------------------------------------------------------------------ */
-/* library options */
-/* ------------------------------------------------------------------------ */
-
-/*
- * Use zlib
- */
-#define wxUSE_ZLIB 1
-/*
- * Use libpng
- */
-#define wxUSE_LIBPNG 1
-/*
- * Use libjpeg
- */
-#define wxUSE_LIBJPEG 0
-/*
- * Use GIF
- */
-#define wxUSE_LIBGIF 1
-/*
- * Use PCX
- */
-#define wxUSE_PCX 1
-/*
- * Use PNM
- */
-#define wxUSE_PNM 1
-/*
- * Use iODBC
- */
-#define wxUSE_ODBC 0
-#define wxODBC_FWD_ONLY_CURSORS 1
-/*
- * Use Threads
- */
-#define wxUSE_THREADS 0
-/*
- * Have glibc2
- */
-#define wxHAVE_GLIBC2 1
-/*
- * Use libXpm
- */
-#define wxHAVE_LIB_XPM 0
-
-#define wxUSE_XPM 1
-
-/* ------------------------------------------------------------------------ */
-/* GUI control options (always enabled in wxGTK) */
-/* ------------------------------------------------------------------------ */
-/*
- * Use gauge item
- */
-#define wxUSE_GAUGE 1
-/*
- * Use combobox item
- */
-#define wxUSE_COMBOBOX 1
-/*
- * Use scrollbar item
- */
-#define wxUSE_SCROLLBAR 1
-/*
- * Use scrollbar item
- */
-#define wxUSE_RADIOBTN 1
-/*
- * Use toolbar item
- */
-#define wxUSE_TOOLBAR 1
-
-/* ------------------------------------------------------------------------ */
-/* non-GUI options */
-/* ------------------------------------------------------------------------ */
-
-/*
- * Use time and date classes
- */
-#define wxUSE_TIMEDATE 1
-/*
- * Use config system
- */
-#define wxUSE_CONFIG 1
-/*
- * Use intl system
- */
-#define wxUSE_INTL 1
-/*
- * Use streams
- */
-#define wxUSE_STREAMS 1
-/*
- * Use class serialization
- */
-#define wxUSE_SERIAL 0
-/*
- * Use sockets
- */
-#define wxUSE_SOCKETS 1
-/*
- * Use standard C++ streams if 1. If 0, use wxWin
- * streams implementation.
- */
-#define wxUSE_STD_IOSTREAM 1
-/*
- * Use constraints mechanism
- */
-#define wxUSE_CONSTRAINTS 1
-
-/* ------------------------------------------------------------------------ */
-/* PS options */
-/* ------------------------------------------------------------------------ */
-
-/*
- * Use font metric files in GetTextExtent for wxPostScriptDC
- * Use consistent PostScript fonts for AFM and printing (!)
- */
-#define wxUSE_AFM_FOR_POSTSCRIPT 1
-#define WX_NORMALIZED_PS_FONTS 1
-/*
- * Use PostScript device context
- */
-#define wxUSE_POSTSCRIPT 1
-
-/* ------------------------------------------------------------------------ */
-/* wxString options */
-/* ------------------------------------------------------------------------ */
-
-/*
- * Compile wxString with wide character (Unicode) support?
- */
-#define wxUSE_UNICODE 1
-
-/*
- * Work around a bug in GNU libc 5.x wcstombs() implementation.
- *
- * Note that you must link your programs with libc.a if you enable this and you
- * have libc 5 (you should enable this for libc6 where wcsrtombs() is
- * thread-safe version of wcstombs()).
- */
-#define wxUSE_WCSRTOMBS 0
-
-/*
- * On some platforms overloading on size_t/int doesn't work, yet we'd like
- * to define both size_t and int version of wxString::operator[] because it
- * should really be size_t, but a lot of old, broken code uses int indices.
- */
-#define wxUSE_SIZE_T_STRING_OPERATOR 1
-
-/* ------------------------------------------------------------------------ */
-/* misc options */
-/* ------------------------------------------------------------------------ */
-
-/*
- * Use Interprocess communication
- */
-#define wxUSE_IPC 1
-/*
- * Use wxGetResource & wxWriteResource (change .Xdefaults)
- */
-#define wxUSE_RESOURCES 1
-/*
- * Use clipboard
- */
-#define wxUSE_CLIPBOARD 1
-/*
- * Use tooltips
- */
-#define wxUSE_TOOLTIPS 0
-/*
- * Use dnd
- */
-#define wxUSE_DRAG_AND_DROP 0
-/*
- * Use wxLibrary class
- */
-#define wxUSE_DYNLIB_CLASS 0
-
-/* ------------------------------------------------------------------------ */
-/* architecture options */
-/* ------------------------------------------------------------------------ */
-
-/*
- * Use the mdi architecture
- */
-#define wxUSE_MDI_ARCHITECTURE 1
-/*
- * Use the document/view architecture
- */
-#define wxUSE_DOC_VIEW_ARCHITECTURE 1
-/*
- * Use the print/preview architecture
- */
-#define wxUSE_PRINTING_ARCHITECTURE 1
-
-/* ------------------------------------------------------------------------ */
-/* Prolog and wxWindows' resource system options */
-/* ------------------------------------------------------------------------ */
-
-/*
- * Use Prolog IO
- */
-#define wxUSE_PROLOGIO 1
-/*
- * Use Remote Procedure Call (Needs wxUSE_IPC and wxUSE_PROLOGIO)
- */
-#define wxUSE_RPC 0
-/*
- * Use wxWindows resource loading (.wxr-files) (Needs wxUSE_PROLOGIO 1)
- */
-#define wxUSE_WX_RESOURCES 1
-
-/* ------------------------------------------------------------------------ */
-/* the rest */
-/* ------------------------------------------------------------------------ */
-
-/*
- * Use wxWindows help facility (needs wxUSE_IPC 1)
- */
-#define wxUSE_HELP 1
-/*
- * Use iostream.h rather than iostream
- */
-#define wxUSE_IOSTREAMH 1
-/*
- * Use Apple Ieee-double converter
- */
-#define wxUSE_APPLE_IEEE 1
-/* Compatibility with 1.66 API.
- Level 0: no backward compatibility, all new features
- Level 1: wxDC, OnSize (etc.) compatibility, but
- some new features such as event tables */
-#define WXWIN_COMPATIBILITY 0
-/*
- * Enables debugging: memory tracing, assert, etc., contains debug level
- */
-#define WXDEBUG 1
-/*
- * Enables debugging version of wxObject::new and wxObject::delete (IF WXDEBUG)
- * WARNING: this code may not work with all architectures, especially
- * if alignment is an issue.
- */
-#define wxUSE_MEMORY_TRACING 0
-/*
- * Enable debugging version of global memory operators new and delete
- * Disable it, If this causes problems (e.g. link errors)
- */
-#define wxUSE_DEBUG_NEW_ALWAYS 1
-/*
- * In debug mode, causes new to be defined to
- * be WXDEBUG_NEW (see object.h). If this causes
- * problems (e.g. link errors), set this to 0.
- */
-#define wxUSE_GLOBAL_MEMORY_OPERATORS 0
-/*
- * Matthews garbage collection (used for MrEd?)
- */
-#define WXGARBAGE_COLLECTION_ON 0
-/*
- * Use splines
- */
-#define wxUSE_SPLINES 1
-/*
- * wxUSE_DYNAMIC_CLASSES is TRUE for the Xt port
- */
-#define wxUSE_DYNAMIC_CLASSES 1
-/*
- * Disable this if your compiler can't cope
- * with omission of prototype parameters.
- */
-#define REMOVE_UNUSED_ARG 1
-/*
- * The const keyword is being introduced more in wxWindows.
- * You can use this setting to maintain backward compatibility.
- * If 0: will use const wherever possible.
- * If 1: will use const only where necessary
- * for precompiled headers to work.
- * If 2: will be totally backward compatible, but precompiled
- * headers may not work and program size will be larger.
- */
-#define CONST_COMPATIBILITY 0
-
-/* ------------------------------------------------------------------------ */
-/* System-specific stuff */
-/* ------------------------------------------------------------------------ */
-
-/* acconfig.h
- This file is in the public domain.
-
- Descriptive text for the C preprocessor macros that
- the distributed Autoconf macros can define.
- No software package will use all of them; autoheader copies the ones
- your configure.in uses into your configuration header file templates.
-
- The entries are in sort -df order: alphabetical, case insensitive,
- ignoring punctuation (such as underscores). Although this order
- can split up related entries, it makes it easier to check whether
- a given entry is in the file. */
-
-/* Define if on AIX 3.
- System headers sometimes define this.
- We just want to avoid a redefinition error message. */
-#ifndef _ALL_SOURCE
-/* #undef _ALL_SOURCE */
+// Setting wxUSE_WCHAR_T to 1 gives you some degree of Unicode support without
+// compiling the program in Unicode mode. More precisely, it will be possible
+// to construct wxString from a wide (Unicode) string and convert any wxString
+// to Unicode.
+//
+// Default is 1
+//
+// Recommended setting: 1
+#define wxUSE_WCHAR_T 1
+
+// ----------------------------------------------------------------------------
+// global features
+// ----------------------------------------------------------------------------
+
+// Compile library in exception-safe mode? If set to 1, the library will try to
+// behave correctly in presence of exceptions (even though it still will not
+// use the exceptions itself) and notify the user code about any unhandled
+// exceptions. If set to 0, propagation of the exceptions through the library
+// code will lead to undefined behaviour -- but the code itself will be
+// slightly smaller and faster.
+//
+// Note that like wxUSE_THREADS this option is automatically set to 0 if
+// wxNO_EXCEPTIONS is defined.
+//
+// Default is 1
+//
+// Recommended setting: depends on whether you intend to use C++ exceptions
+// in your own code (1 if you do, 0 if you don't)
+#define wxUSE_EXCEPTIONS 1
+
+// Set wxUSE_EXTENDED_RTTI to 1 to use extended RTTI
+//
+// Default is 0
+//
+// Recommended setting: 0 (this is still work in progress...)
+#define wxUSE_EXTENDED_RTTI 0
+
+// Set wxUSE_STL to 1 to derive wxList(Foo) and wxArray(Foo) from
+// std::list<Foo*> and std::vector<Foo*>, with a compatibility interface,
+// and for wxHashMap to be implemented with templates.
+//
+// Default is 0
+//
+// Recommended setting: YMMV
+#define wxUSE_STL 0
+
+// Support for message/error logging. This includes wxLogXXX() functions and
+// wxLog and derived classes. Don't set this to 0 unless you really know what
+// you are doing.
+//
+// Default is 1
+//
+// Recommended setting: 1 (always)
+#define wxUSE_LOG 1
+
+// Recommended setting: 1
+#define wxUSE_LOGWINDOW 1
+
+// Recommended setting: 1
+#define wxUSE_LOGGUI 1
+
+// Recommended setting: 1
+#define wxUSE_LOG_DIALOG 1
+
+// Support for command line parsing using wxCmdLineParser class.
+//
+// Default is 1
+//
+// Recommended setting: 1 (can be set to 0 if you don't use the cmd line)
+#define wxUSE_CMDLINE_PARSER 1
+
+// Support for multithreaded applications: if 1, compile in thread classes
+// (thread.h) and make the library a bit more thread safe. Although thread
+// support is quite stable by now, you may still consider recompiling the
+// library without it if you have no use for it - this will result in a
+// somewhat smaller and faster operation.
+//
+// Notice that if wxNO_THREADS is defined, wxUSE_THREADS is automatically reset
+// to 0 in wx/chkconf.h, so, for example, if you set USE_THREADS to 0 in
+// build/msw/config.* file this value will have no effect.
+//
+// Default is 1
+//
+// Recommended setting: 0 unless you do plan to develop MT applications
+#define wxUSE_THREADS 1
+
+// If enabled, compiles wxWidgets streams classes
+//
+// wx stream classes are used for image IO, process IO redirection, network
+// protocols implementation and much more and so disabling this results in a
+// lot of other functionality being lost.
+//
+// Default is 1
+//
+// Recommended setting: 1 as setting it to 0 disables many other things
+#define wxUSE_STREAMS 1
+
+// Use standard C++ streams if 1 instead of wx streams in some places. If
+// disabled (default), wx streams are used everywhere and wxWidgets doesn't
+// depend on the standard streams library.
+//
+// Notice that enabling this does not replace wx streams with std streams
+// everywhere, in a lot of places wx streams are used no matter what.
+//
+// Default is 0
+//
+// Recommended setting: 1 if you use the standard streams anyhow and so
+// dependency on the standard streams library is not a
+// problem
+#define wxUSE_STD_IOSTREAM 0
+
+// Enable conversion to standard C++ string if 1.
+#define wxUSE_STD_STRING 0
+
+// Support for positional parameters (e.g. %1$d, %2$s ...) in wxVsnprintf.
+// Note that if the system's implementation does not support positional
+// parameters, setting this to 1 forces the use of the wxWidgets implementation
+// of wxVsnprintf. The standard vsnprintf() supports positional parameters on
+// many Unix systems but usually doesn't under Windows.
+//
+// Positional parameters are very useful when translating a program since using
+// them in formatting strings allow translators to correctly reorder the
+// translated sentences.
+//
+// Default is 1
+//
+// Recommended setting: 1 if you want to support multiple languages
+#define wxUSE_PRINTF_POS_PARAMS 1
+
+// ----------------------------------------------------------------------------
+// non GUI features selection
+// ----------------------------------------------------------------------------
+
+// Set wxUSE_LONGLONG to 1 to compile the wxLongLong class. This is a 64 bit
+// integer which is implemented in terms of native 64 bit integers if any or
+// uses emulation otherwise.
+//
+// This class is required by wxDateTime and so you should enable it if you want
+// to use wxDateTime. For most modern platforms, it will use the native 64 bit
+// integers in which case (almost) all of its functions are inline and it
+// almost does not take any space, so there should be no reason to switch it
+// off.
+//
+// Recommended setting: 1
+#define wxUSE_LONGLONG 1
+
+// Set wxUSE_(F)FILE to 1 to compile wx(F)File classes. wxFile uses low level
+// POSIX functions for file access, wxFFile uses ANSI C stdio.h functions.
+//
+// Default is 1
+//
+// Recommended setting: 1 (wxFile is highly recommended as it is required by
+// i18n code, wxFileConfig and others)
+#define wxUSE_FILE 1
+#define wxUSE_FFILE 1
+
+// Use wxFSVolume class providing access to the configured/active mount points
+//
+// Default is 1
+//
+// Recommended setting: 1 (but may be safely disabled if you don't use it)
+#define wxUSE_FSVOLUME 1
+
+// Use wxStandardPaths class which allows to retrieve some standard locations
+// in the file system
+//
+// Default is 1
+//
+// Recommended setting: 1 (may be disabled to save space, but not much)
+#define wxUSE_STDPATHS 1
+
+// use wxTextBuffer class: required by wxTextFile
+#define wxUSE_TEXTBUFFER 1
+
+// use wxTextFile class: requires wxFile and wxTextBuffer, required by
+// wxFileConfig
+#define wxUSE_TEXTFILE 1
+
+// i18n support: _() macro, wxLocale class. Requires wxTextFile.
+#define wxUSE_INTL 1
+
+// Set wxUSE_DATETIME to 1 to compile the wxDateTime and related classes which
+// allow to manipulate dates, times and time intervals. wxDateTime replaces the
+// old wxTime and wxDate classes which are still provided for backwards
+// compatibility (and implemented in terms of wxDateTime).
+//
+// Note that this class is relatively new and is still officially in alpha
+// stage because some features are not yet (fully) implemented. It is already
+// quite useful though and should only be disabled if you are aiming at
+// absolutely minimal version of the library.
+//
+// Requires: wxUSE_LONGLONG
+//
+// Default is 1
+//
+// Recommended setting: 1
+#define wxUSE_DATETIME 1
+
+// Set wxUSE_TIMER to 1 to compile wxTimer class
+//
+// Default is 1
+//
+// Recommended setting: 1
+#define wxUSE_TIMER 1
+
+// Use wxStopWatch clas.
+//
+// Default is 1
+//
+// Recommended setting: 1 (needed by wxSocket)
+#define wxUSE_STOPWATCH 1
+
+// Setting wxUSE_CONFIG to 1 enables the use of wxConfig and related classes
+// which allow the application to store its settings in the persistent
+// storage. Setting this to 1 will also enable on-demand creation of the
+// global config object in wxApp.
+//
+// See also wxUSE_CONFIG_NATIVE below.
+//
+// Recommended setting: 1
+#define wxUSE_CONFIG 1
+
+// If wxUSE_CONFIG is 1, you may choose to use either the native config
+// classes under Windows (using .INI files under Win16 and the registry under
+// Win32) or the portable text file format used by the config classes under
+// Unix.
+//
+// Default is 1 to use native classes. Note that you may still use
+// wxFileConfig even if you set this to 1 - just the config object created by
+// default for the applications needs will be a wxRegConfig or wxIniConfig and
+// not wxFileConfig.
+//
+// Recommended setting: 1
+#define wxUSE_CONFIG_NATIVE 1
+
+// If wxUSE_DIALUP_MANAGER is 1, compile in wxDialUpManager class which allows
+// to connect/disconnect from the network and be notified whenever the dial-up
+// network connection is established/terminated. Requires wxUSE_DYNAMIC_LOADER.
+//
+// Default is 1.
+//
+// Recommended setting: 1
+#define wxUSE_DIALUP_MANAGER 1
+
+// Compile in classes for run-time DLL loading and function calling.
+// Required by wxUSE_DIALUP_MANAGER.
+//
+// This setting is for Win32 only
+//
+// Default is 1.
+//
+// Recommended setting: 1
+#define wxUSE_DYNLIB_CLASS 1
+
+// experimental, don't use for now
+#define wxUSE_DYNAMIC_LOADER 1
+
+// Set to 1 to use socket classes
+#define wxUSE_SOCKETS 1
+
+// Set to 1 to enable virtual file systems (required by wxHTML)
+#define wxUSE_FILESYSTEM 1
+
+// Set to 1 to enable virtual ZIP filesystem (requires wxUSE_FILESYSTEM)
+#define wxUSE_FS_ZIP 1
+
+// Set to 1 to enable virtual archive filesystem (requires wxUSE_FILESYSTEM)
+#define wxUSE_FS_ARCHIVE 1
+
+// Set to 1 to enable virtual Internet filesystem (requires wxUSE_FILESYSTEM)
+#define wxUSE_FS_INET 1
+
+// wxArchive classes for accessing archives such as zip and tar
+#define wxUSE_ARCHIVE_STREAMS 1
+
+// Set to 1 to compile wxZipInput/OutputStream classes.
+#define wxUSE_ZIPSTREAM 1
+
+// Set to 1 to compile wxBackingFile and wxBackedInputStream
+#define wxUSE_BACKINGFILE 1
+
+// Set to 1 to compile wxTarInput/OutputStream classes.
+#define wxUSE_TARSTREAM 1
+
+// Set to 1 to compile wxZlibInput/OutputStream classes. Also required by
+// wxUSE_LIBPNG
+#define wxUSE_ZLIB 1
+
+// If enabled, the code written by Apple will be used to write, in a portable
+// way, float on the disk. See extended.c for the license which is different
+// from wxWidgets one.
+//
+// Default is 1.
+//
+// Recommended setting: 1 unless you don't like the license terms (unlikely)
+#define wxUSE_APPLE_IEEE 1
+
+// Joystick support class
+#define wxUSE_JOYSTICK 1
+
+// wxFontMapper class
+#define wxUSE_FONTMAP 1
+
+// wxMimeTypesManager class
+#define wxUSE_MIMETYPE 1
+
+// wxProtocol and related classes: if you want to use either of wxFTP, wxHTTP
+// or wxURL you need to set this to 1.
+//
+// Default is 1.
+//
+// Recommended setting: 1
+#define wxUSE_PROTOCOL 1
+
+// The settings for the individual URL schemes
+#define wxUSE_PROTOCOL_FILE 1
+#define wxUSE_PROTOCOL_FTP 1
+#define wxUSE_PROTOCOL_HTTP 1
+
+// Define this to use wxURL class.
+#define wxUSE_URL 1
+
+// Define this to use native platform url and protocol support.
+// Currently valid only for MS-Windows.
+// Note: if you set this to 1, you can open ftp/http/gopher sites
+// and obtain a valid input stream for these sites
+// even when you set wxUSE_PROTOCOL_FTP/HTTP to 0.
+// Doing so reduces the code size.
+//
+// This code is experimental and subject to change.
+#define wxUSE_URL_NATIVE 0
+
+// Support for wxVariant class used in several places throughout the library,
+// notably in wxDataViewCtrl API.
+//
+// Default is 1.
+//
+// Recommended setting: 1 unless you want to reduce the library size as much as
+// possible in which case setting this to 0 can gain up to 100KB.
+#define wxUSE_VARIANT 1
+
+// Support for regular expression matching via wxRegEx class: enable this to
+// use POSIX regular expressions in your code. You need to compile regex
+// library from src/regex to use it under Windows.
+//
+// Default is 0
+//
+// Recommended setting: 1 if your compiler supports it, if it doesn't please
+// contribute us a makefile for src/regex for it
+#define wxUSE_REGEX 1
+
+// wxSystemOptions class
+#define wxUSE_SYSTEM_OPTIONS 1
+
+// wxSound class
+#define wxUSE_SOUND 1
+
+// Use wxMediaCtrl
+//
+// Default is 1.
+//
+// Recommended setting: 1
+#define wxUSE_MEDIACTRL 1
+
+// Use GStreamer for Unix (req a lot of dependancies)
+//
+// Default is 0
+//
+// Recommended setting: 1 (wxMediaCtrl won't work by default without it)
+#define wxUSE_GSTREAMER 0
+
+// Use wxWidget's XRC XML-based resource system. Recommended.
+//
+// Default is 1
+//
+// Recommended setting: 1 (requires wxUSE_XML)
+#define wxUSE_XRC 1
+
+// XML parsing classes. Note that their API will change in the future, so
+// using wxXmlDocument and wxXmlNode in your app is not recommended.
+//
+// Default is 1
+//
+// Recommended setting: 1 (required by XRC)
+#if wxUSE_XRC
+# define wxUSE_XML 1
+#else
+# define wxUSE_XML 0