#define OSName DefaultOSName
#endif
#ifndef OSVendor
-#define OSVendor Walnut Creek CD-ROM
+#define OSVendor FreeBSD Foundation
#endif
#ifndef OSMajorVersion
#define OSMajorVersion DefaultOSMajorVersion
#define HasBSD44Sockets YES
#define HasZlib YES
+#if OSMajorVersion >= 5
+#define CppCmd /usr/bin/cpp -traditional
+#define PreProcessCmd /usr/bin/cpp -traditional
+#else
#define CppCmd /usr/libexec/cpp -traditional
#define PreProcessCmd /usr/libexec/cpp -traditional
+#endif
#undef InstallCmd
#define InstallCmd /usr/bin/install
+#undef KornShell
+#define KornShell /usr/local/bin/ksh93
#define UseGas YES
#ifndef GccUsesGas
# define HasGcc2 YES
#endif
+/* For DtHelp TIFF processing routines. */
+#ifdef AMD64Architecture
+#define LSBBitOrder YES
+#endif
+
+#ifdef ARMArchitecture
+#define LSBBitOrder YES
+#endif
+
+#ifdef i386Architecture
+#define LSBBitOrder YES
+#endif
+
#define MkdirHierCmd mkdir -p
#define CcCmd gcc
#define DefaultCCOptions -pipe
#endif
+#define CplusplusLibC -lstdc++
+
#if OSMajorVersion > 1
#define ServerOSDefines XFree86ServerOSDefines -DDDXTIME
#define XawI18nDefines -DUSE_XWCHAR_STRING
#define HasMakefileSafeInclude YES
#define IncludeMakefile(file) @@# dependencies are in .depend
#define DependFileName .depend
+#if OSMajorVersion < 3
#if OSMinorVersion < 2
#ifndef ExtraLibraries
#define ExtraLibraries -lgnumalloc
#if OSTeenyVersion == 2
#define HasSetUserContext YES
#endif
+#endif
#ifndef ExtraLoadFlags
/*
* This doesn't work the way it does on every other system. On FreeBSD it's
/* The GCC strength-reduce bug is fixed for FreeBSD 2.1.5 and later */
#ifndef DefaultGcc2i386Opt
#if OSMajorVersion > 2 || (OSMajorVersion == 2 && OSMinorVersion > 1) || (OSMajorVersion == 2 && OSMinorVersion == 1 && OSTeenyVersion >= 5)
-#define DefaultGcc2i386Opt -O2
+#define DefaultGcc2i386Opt -O
#endif
#endif
#ifdef i386Architecture
# define OptimizedCDebugFlags DefaultGcc2i386Opt
#else
-# define OptimizedCDebugFlags -O2
+# define OptimizedCDebugFlags -O
#endif
#define ServerExtraDefines GccGasOption XFree86ServerDefines
#define StandardDefines -DCSRG_BASED
+#define StandardIncludes -I/usr/local/include
+#define BuildLibPathVar LD_LIBRARY_PATH
#define TroffCmd groff -Tps
#define SetTtyGroup YES