#define LinuxCLibMajorVersion 0
#define LinuxCLibMinorVersion 9
/* #define XorgServer YES */

/* Xorg seems to assume that you are only using glibc.  Anything else can get screwed up settings, as with uClib */
/* Here is my attempts to fix this problem */
#define IsNoGlibcSystem /* Hack */
#define LinuxLocaleDefines -DX_LOCALE
#define LinuxSourceDefines -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE LinuxAdditionalIncludes LinuxGnuSourceDefines LinuxLocaleDefines
/* Make sure you have HAS_WCHAR removed if you did not compile it into uclibc */
#define XawI18nDefines -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H /* replace -DHAS_WCHAR_H with -DUSE_XWCHAR_STRING if wchar is not compiled in uclibc */
#define HasPosixThreads YES
#define ThreadedX YES
#define HasThreadSafeAPI YES
#define ThreadsLibrary -lpthread
#define SystemMTDefines -D_REENTRANT
#define HasLibCrypt YES
#define HasPoll NO
#define HasBasename YES
#define BuildIPv6 YES /* Set to NO if uclibc doesn't have ipv6 compiled in */
#define HasAgpGart YES
#define BuildLibGlxWithoutPIC NO
#define HasMTRRSupport YES
#define HasShadowPasswd YES
#define MakeDllModules YES
#define HardenedGccSpec YES
#define ProPoliceSupport YES
#define LinuxUsesNcurses YES
#define BuildDmx YES
#define SpecialMalloc NO
#define UseInternalMalloc NO
#define BaseShLibReqs -lc

/* Compiler options */
#define DefaultGcc2i386Opt -O2 -fno-strength-reduce -fno-strict-aliasing -march=i686
/* #define DefaultGccAMD64Opt -Os -fno-strength-reduce -fno-strict-aliasing */
/* define DefaultGccIncludeDir */

/* HAS Commands */
#define HasNCurses YES
#define HasGroff YES
#define HasFreetype2 YES
#define HasFontconfig YES
#define HasExpat YES
#define HasLibpng YES
#define HasZlib YES
#define HasLibCrypt YES
#define HasPam YES
#define HasX86Support YES
#define HasMMXSupport YES
#define Has3DNowSupport YES
#define HasMTRRSupport YES
#define HasLinuxJoystick YES /* broken, but worth a try */

/* BUILD Commands */
#define BuildXprint NO
#define BuildXF86DRI YES
#define BuildLibraries YES
#define BuildLibrariesForXServers YES
#define BuildLibrariesForConfigTools YES
#define BuildXprintClients NO

/* Other Commands */
#define DefaultUserPath /bin:/usr/bin:/usr/toolchain/bin
#define DefaultSystemPath /bin:/usr/bin:/usr/toolchain/bin /* Xorg default seems to have /etc in here...wtf? */
#define DoLoadableServer YES
#define XprtServer NO
#define XnestServer YES
#define XVirtualFramebufferServer YES
#define BourneShell /bin/bash -e

/* Don't include use these 4 commands if you wish to install to the normal /usr/X11R6 directories */
#define ProjectRoot /usr
#define LinkGLToUsrInclude NO
#define LinkGLToUsrLib NO
#define FontDir /usr/share/fonts

/* DRIVERS TO BUILD */
#define XF86CardDrivers apm ark ati chips cirrus cyrix fbdev glint i128 i740 i810 imstt mga neomagic newport nsc nv rendition s3 s3virge savage siliconmotion sis tdfx tga trident tseng via vesa vga vmware XF86OSCardDrivers XF86ExtraCardDrivers
#define XInputDrivers keyboard mouse void
/*#define XInputDrivers calcomp citron digitaledge dmc dynapro elographics fpit keyboard microtouch mouse mutouch palmax penmount spaceorb summa tek4957 ur98 void wacom */ /* fails to load: aiptex */

/* DRI drivers are built from Mesa CVS */
#define DriDrivers gamma i810 i915 mach64 mga r128 radeon tdfx savage sis ffb
#define DevelDRIDrivers
