X Strike Force X.Org X11 SVN commit: r615 - in trunk/debian: . patches/debian patches/hurd
Author: dnusinow
Date: 2005-09-22 17:56:33 -0500 (Thu, 22 Sep 2005)
New Revision: 615
Modified:
trunk/debian/changelog
trunk/debian/patches/debian/900_debian_config.diff
trunk/debian/patches/hurd/800_gnu_config.diff
Log:
* Updated hurd/800_gnu_config.diff. Thanks Michael Banck. (closes: #327740)
+ Updated debian/900_debian_config.diff to cope with the above change.
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2005-09-22 22:36:34 UTC (rev 614)
+++ trunk/debian/changelog 2005-09-22 22:56:33 UTC (rev 615)
@@ -18,9 +18,10 @@
+ hurd/806_gnuLib_update.diff (closes: #295472)
+ hurd/804_maxhostnamelen.diff (closes: #325204)
+ hurd/805_via_nodri.patch (closes: #325243)
- + hurd//808_i810_nodri.diff (closes: #325882)
+ + hurd/808_i810_nodri.diff (closes: #325882)
+ + updated hurd/800_gnu_config.diff (closes: #327740)
- -- David Nusinow <dnusinow@debian.org> Thu, 22 Sep 2005 18:35:10 -0400
+ -- David Nusinow <dnusinow@debian.org> Thu, 22 Sep 2005 18:53:16 -0400
xorg-x11 (6.8.2.dfsg.1-7) unstable; urgency=high
Modified: trunk/debian/patches/debian/900_debian_config.diff
===================================================================
--- trunk/debian/patches/debian/900_debian_config.diff 2005-09-22 22:36:34 UTC (rev 614)
+++ trunk/debian/patches/debian/900_debian_config.diff 2005-09-22 22:56:33 UTC (rev 615)
@@ -4,9 +4,10 @@
This patch by Branden Robinson.
-diff -ruN xc-old/config/cf/NetBSD.cf xc/config/cf/NetBSD.cf
---- xc-old/config/cf/NetBSD.cf 2004-10-27 13:52:55.000000000 +0000
-+++ xc/config/cf/NetBSD.cf 2004-10-27 13:53:28.000000000 +0000
+Index: xc/config/cf/NetBSD.cf
+===================================================================
+--- xc/config/cf/NetBSD.cf.orig 2005-09-22 18:47:25.000000000 -0400
++++ xc/config/cf/NetBSD.cf 2005-09-22 18:49:33.000000000 -0400
@@ -89,13 +89,7 @@
# define NormalLibGlu YES
# define FSUseSyslog YES
@@ -21,26 +22,28 @@
# ifdef DebianMaintainer
# ifndef XFree86CustomVersion
-diff -ruN xc-old/config/cf/gnu.cf xc/config/cf/gnu.cf
---- xc-old/config/cf/gnu.cf 2004-10-27 13:52:55.000000000 +0000
-+++ xc/config/cf/gnu.cf 2004-10-27 13:53:28.000000000 +0000
-@@ -61,13 +61,7 @@
- #define NormalLibGlu YES
- #define FSUseSyslog YES
+Index: xc/config/cf/gnu.cf
+===================================================================
+--- xc/config/cf/gnu.cf.orig 2005-09-22 18:47:25.000000000 -0400
++++ xc/config/cf/gnu.cf 2005-09-22 18:49:57.000000000 -0400
+@@ -77,13 +77,7 @@
+ # define ProjectManSuffix x
+
-/*
- *
- *
- #define DebianMaintainer YES
+ # define DebianMaintainer YES
- *
- *
- */
- #ifdef DebianMaintainer
- # ifndef XFree86CustomVersion
-diff -ruN xc-old/config/cf/linux.cf xc/config/cf/linux.cf
---- xc-old/config/cf/linux.cf 2004-10-27 13:52:55.000000000 +0000
-+++ xc/config/cf/linux.cf 2004-10-27 15:03:21.708626160 +0000
+ # ifdef DebianMaintainer
+
+Index: xc/config/cf/linux.cf
+===================================================================
+--- xc/config/cf/linux.cf.orig 2005-09-22 18:47:25.000000000 -0400
++++ xc/config/cf/linux.cf 2005-09-22 18:49:33.000000000 -0400
@@ -146,13 +146,7 @@
# define ProjectManSuffix x
Modified: trunk/debian/patches/hurd/800_gnu_config.diff
===================================================================
--- trunk/debian/patches/hurd/800_gnu_config.diff 2005-09-22 22:36:34 UTC (rev 614)
+++ trunk/debian/patches/hurd/800_gnu_config.diff 2005-09-22 22:56:33 UTC (rev 615)
@@ -1,176 +1,367 @@
-$Id$
-
-Add Debian-specific configuration to gnu.cf (mostly derived from linux.cf).
-
-This patch by Marcus Brinkmann <brinkmd@debian.org>, Robert Millan
-<zeratul2@wanadoo.es>, Daniel Stone <dstone@trinity.unimelb.edu.au>,
-Michael Banck, and Branden Robinson.
-
-XXX: Examine whether the following def needs to be restored to the file:
-
-#ifndef HasKatmaiSupport
-# define HasKatmaiSupport NO
-#endif
-
-diff -ruN xc-old/config/cf/gnu.cf xc/config/cf/gnu.cf
---- xc-old/config/cf/gnu.cf 2004-10-18 14:46:02.700225000 +0200
-+++ xc/config/cf/gnu.cf 2004-10-18 14:47:15.796113304 +0200
-@@ -19,6 +19,154 @@
+--- xc/config/cf/gnu.cf.orig 2005-09-03 13:28:29.241654464 +0200
++++ xc/config/cf/gnu.cf 2005-09-03 13:29:16.432480368 +0200
+@@ -1,6 +1,3 @@
+-XCOMM platform: $XFree86: xc/config/cf/gnu.cf,v 1.12 2003/11/24 02:02:26 dawes Exp $
+-XCOMM $XdotOrg: xc/config/cf/gnu.cf,v 1.2 2004/04/23 18:41:58 eich Exp $
+-
+ #ifndef OSName
+ #define OSName DefaultOSName
#endif
+@@ -17,55 +14,367 @@
+ #ifndef OSTeenyVersion
+ #define OSTeenyVersion DefaultOSTeenyVersion
+ #endif
++
++#ifndef HasGhostScript
++# define HasGhostScript YES
++#endif
++#ifndef BuildPDFdocs
++# define BuildPDFdocs NO
++#endif
++
++#ifndef GnuBinUtilsMajorVersion
++# define GnuBinUtilsMajorVersion DefaultGnuBinUtilsMajorVersion
++#endif
++
XCOMM operating system: OSName (OSMajorVersion./**/OSMinorVersion./**/OSTeenyVersion)
++XCOMM libc: (GnuCLibMajorVersion./**/GnuCLibMinorVersion./**/GnuCLibTeenyVersion)
++XCOMM binutils: (GnuBinUtilsMajorVersion)
-+#ifndef DefaultGcc2OptimizeOpt
-+# define DefaultGcc2OptimizeOpt -O2
-+#endif
-+#define DefaultGcc2AxpOpt DefaultGcc2OptimizeOpt GccAliasingArgs
-+#define DefaultGcc2i386Opt DefaultGcc2OptimizeOpt GccAliasingArgs
-+#define DefaultGcc2PpcOpt DefaultGcc2OptimizeOpt GccAliasingArgs
-+#define SystemManDirectory /usr/share/man
-+#define HasPam YES
-+#define HasTk YES
-+#define TkLibDir /usr/lib
-+#define TkIncDir /usr/include
-+#define TkLibName tk8.4
-+#define XF86SetupUsesStaticTk NO
-+#define HasTcl YES
-+#define TclLibDir /usr/lib
-+#define TclIncDir /usr/include
-+#define TclLibName tcl8.4
-+#define XF86SetupUsesStaticTcl NO
-+/* un-comment this when it is un-broken */
-+/* # define JoystickSupport YES */
-+#define XAppLoadDir EtcX11Directory/app-defaults
-+#define XFileSearchPathDefault Concat4(EtcX11Directory/%L/%T/%N%C,%S:EtcX11Directory/%l/%T/%N%C,%S:EtcX11Directory/%T/%N%C,%S:EtcX11Directory/%L/%T/%N%S:EtcX11Directory/%l/%T/%N%S:EtcX11Directory/%T/%N%S):Concat4($(LIBDIR)/%L/%T/%N%C,%S:$(LIBDIR)/%l/%T/%N%C,%S:$(LIBDIR)/%T/%N%C,%S:$(LIBDIR)/%L/%T/%N%S:$(LIBDIR)/%l/%T/%N%S:$(LIBDIR)/%T/%N%S)
-+#define InstallAppDefFiles YES
+-#define GNUSourceDefines -D_POSIX_C_SOURCE=199309L \
+- -D_POSIX_SOURCE -D_XOPEN_SOURCE \
+- -D_BSD_SOURCE -D_SVID_SOURCE
++#define HasDevRandom NO
++#define PollDevRandom NO
+
+-XCOMM XXXMB: What about _GNU_SOURCE, see Linux/UseInstalled?
++/* Path setup. */
++# ifndef NothingOutsideProjectRoot
++# define NothingOutsideProjectRoot NO
++# endif
++# if !defined(NothingOutsideProjectRoot) || !NothingOutsideProjectRoot
++# define SystemManDirectory /usr/share/man
++# endif
+
+-#define XawI18nDefines -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H
++/* Default GCC options. */
++# ifndef DefaultGcc2OptimizeOpt
++# define DefaultGcc2OptimizeOpt -O2
++# endif
++
++# define HasPam YES
++
++# if !defined(NothingOutsideProjectRoot) || !NothingOutsideProjectRoot
++# define XAppLoadDir EtcX11Directory/app-defaults
++# define XFileSearchPathDefault Concat4(EtcX11Directory/%L/%T/%N%C,%S:EtcX11Directory/%l/%T/%N%C,%S:EtcX11Directory/%T/%N%C,%S:EtcX11Directory/%L/%T/%N%S:EtcX11Directory/%l/%T/%N%S:EtcX11Directory/%T/%N%S):Concat4($(LIBDIR)/%L/%T/%N%C,%S:$(LIBDIR)/%l/%T/%N%C,%S:$(LIBDIR)/%T/%N%C,%S:$(LIBDIR)/%L/%T/%N%S:$(LIBDIR)/%l/%T/%N%S:$(LIBDIR)/%T/%N%S)
+/* the relative symlink created by this rule causes problems for us */
-+#ifdef InstallAppDefFiles
-+# if InstallAppDefFiles
-+# define InstallAppDefaultsLong(file,class) @@\
++# define InstallAppDefFiles YES
++# ifdef InstallAppDefFiles
++# if InstallAppDefFiles
++# define InstallAppDefaultsLong(file,class) @@\
+InstallNamedTarget(install,file.ad,$(INSTAPPFLAGS),$(XAPPLOADDIR),class)
-+# else
-+# define InstallAppDefaultsLong(file,class) @@\
++# else
++# define InstallAppDefaultsLong(file,class) @@\
+InstallNamedTargetNoClobber(install,file.ad,$(INSTAPPFLAGS),$(XAPPLOADDIR),class)
-+# endif
-+#endif /* InstallAppDefFiles */
-+#define SharedLibXdmGreet NO
-+#define LinkGLToUsrInclude NO
-+#define LinkGLToUsrLib NO
-+#define SharedLibFont NO
-+#define HasZlib YES
-+#define SharedLibGlu YES
-+#define NormalLibGlu YES
-+#define FSUseSyslog YES
++# endif
++# endif /* InstallAppDefFiles */
++# endif /* !defined(NothingOutsideProjectRoot) || !NothingOutsideProjectRoot */
+
++# define SharedLibXdmGreet NO
++# define LinkGLToUsrInclude NO
++# define LinkGLToUsrLib NO
++# define FSUseSyslog YES
++
++# define DriverManSuffix 4x
++# define DriverManDir $(MANSOURCEPATH)4
++
++# define MiscManSuffix 7x
++# define MiscManDir $(MANSOURCEPATH)7
++
++# define ProjectManSuffix x
++
+/*
+ *
+ *
-+#define DebianMaintainer YES
++# define DebianMaintainer YES
+ *
+ *
+ */
+
-+#ifdef DebianMaintainer
-+# ifndef XFree86CustomVersion
-+# define XFree86CustomVersion "Debian"
-+# endif
-+# ifndef BuilderEMailAddr
-+# define BuilderEMailAddr "debian-x@lists.debian.org"
-+# endif
-+# define XFree86Devel YES
-+# define InstallXinitConfig YES
-+# define InstallXdmConfig YES
-+# define InstallFSConfig YES
-+# define DebuggableLibraries YES
-+# define ForceNormalLib YES
-+# define BuildRman NO
-+# define BuildHtmlManPages NO
-+/*
-+ * Debian doesn't use certain parts of the tree when doing
-+ * architecture-specific package builds.
++# ifdef DebianMaintainer
++
++# ifndef XorgCustomVersion
++# define XorgCustomVersion "Debian"
++# endif
++# ifndef BuilderEMailAddr
++# define BuilderEMailAddr "debian-x@lists.debian.org"
++# endif
++
++# define XFree86Devel YES
++# define InstallXinitConfig YES
++# define InstallXdmConfig YES
++# define InstallFSConfig YES
++# define DebuggableLibraries YES
++# define ForceNormalLib YES
++# define SharedLibFont NO
++# define SharedLibGlu YES
++# define NormalLibGlu YES
++# define BuildFontCache YES
++
++# define BuildAllSpecsDocs NO
++# ifndef BuildSpecsDocs
++# define BuildSpecsDocs YES
++# endif
++# define SpecsDocDirs BDF CTEXT FSProtocol GL ICCCM ICE PM \
++ Render SM X11 XDMCP XIM XLFD XProtocol \
++ Xaw Xext Xi Xmu Xserver Xt Xv XvMC \
++ i18n rstart xfs xterm xtrans
++# define XkbServerDefines -DNOISY
++# define BuildHtmlManPages NO
++
++# define DontPreprocessManPages NO
++
++/* We have a local patch that defines PicLibraryTarget(), instead of upstream's
++ * method. */
++# define StaticNeedsPicForShared NO
++
++/* Some libraries changed compilation method from static to shared and they do not
++ * ship header files.
++ * Temporary revert the build to static until all the changes will be investigated
++ * properly
+ */
-+# ifndef BuildFonts
-+# define BuildFonts YES
-+# endif
-+# ifndef BuildSpecsDocs
-+# define BuildSpecsDocs YES
-+# endif
-+# if BuildSpecsDocs
-+# define BuildAllSpecsDocs YES
-+# endif
++# define SharedLibXau YES
++# define SharedLibXdmcp YES
++# define NormalOldX NO
++# define DebugOldX NO
++# define SharedOldX NO
++# define SharedLibDmx YES
++# define SharedLibGLw NO
++# define SharedLibFont NO
++# define SharedLibFontEnc NO
++# define SharedLibXfontcache NO
++# define BuildFreetypeDlModule NO
++
++# define KernelVersionInBanner YES
++
++/* We don't want XRX. */
++# define BuildPlugin NO
++
++/* The TT/Meltho fonts are all under non-free licences, except for BitStream
++ * Vera, which is provided by an external package anyway. */
++# define BuildTrueTypeFonts NO
++# define BuildBethMarduthoFonts NO
++
++/* Some day, but not yet ... */
++# define MakeDllModules NO
++
++/* All the following are fulfilled by Build-Depends. */
++# define BuildRman NO
++# define RmanCmd /usr/bin/rman
++# define RmanOptions /**/
++# define HasTk YES
++# define TkLibDir /usr/lib
++# define TkIncDir /usr/include
++# define TkLibName tk8.4
++# define XF86SetupUsesStaticTk NO
++# define HasTcl YES
++# define TclLibDir /usr/lib
++# define TclIncDir /usr/include
++# define TclLibName tcl8.4
++# define XF86SetupUsesStaticTcl NO
++# define BuildExpatLibrary NO
++# define HasExpat YES
++# define ExpatIncDirStandard YES
++# define BuildFontconfigLibrary NO
++# define HasFontconfig YES
++# define UseFontconfig YES
++# define BuildRenderLibrary NO
++# define HasRenderLibrary YES
++# define BuildXcursorLibrary NO
++# define HasXcursorLibrary YES
++/* Xlib needs to know the available version of Xcursor. */
++# define SharedXcursorRev 1
++# define IconDir Concat(ProjectRoot,/lib/X11/icons)
++# define BuildXftLibrary NO
++# define HasXftLibrary YES
++# define BuildFreetype2Library NO
++# define HasFreetype2 YES
++# define FontLibSharedFreeType NO
++# define HasLatex YES
++# define HasGroffHtml YES
++
+/*
-+ * The XFree86 Debian package uses a local patch that defines a
-+ * PicLibraryTarget() Imake rule, instead of using upstream's method.
++ * The XFree86 Debian package no longer builds the Xprt server, in favor
++ * of a separate xprint package. We do still build the library,
++ * but only when we're not building servers only, so it gets built in the
++ * normal build, but not -dbg (as it requires libXt headers).
+ */
-+# define StaticNeedsPicForShared NO
-+# define KernelVersionInBanner YES
-+# define ProjectManSuffix x
-+/* The TT/Meltho fonts are all under non-free licenses. */
-+# define BuildTrueTypeFonts NO
-+# define BuildBethMarduthoFonts NO
-+/*
-+ * The XFree86 Debian package build-depends on external Expat, Fontconfig,
-+ * Freetype, Render, Xcursor, and Xft libraries.
-+ */
-+# define BuildExpatLibrary NO
-+# define HasExpat YES
-+# define ExpatIncDirStandard YES
-+# define BuildFontconfigLibrary NO
-+# define HasFontconfig YES
-+# define UseFontconfig YES
-+# define FontconfigIncDir /usr/include/fontconfig
-+# define BuildFreetype2Library NO
-+# define HasFreetype2 YES
-+# define BuildRenderLibrary NO
-+# define HasRenderLibrary YES
-+# define BuildXcursorLibrary NO
-+# define HasXcursorLibrary YES
-+/* Xlib needs to know the available version of Xcursor. */
-+# define SharedXcursorRev 1
-+# define IconDir Concat(ProjectRoot,/lib/X11/icons)
-+# define BuildXftLibrary NO
-+# define HasXftLibrary YES
++# define XprtServer NO
++# define BuildXprintLib !BuildServersOnly
+
-+# ifdef UseInstalled
++# ifdef UseInstalled
+# define RenderLibraryDir /usr
+# define XftLibraryDir /usr
+# define XcursorLibraryDir /usr
-+# else
-+/* The XFree86 Debian package uses a special hack to find these libraries. */
++# else /* We have a special hack to find these. */
+# define RenderLibraryDir $(TOP)/../../imports
+# define XftLibraryDir $(TOP)/../../imports
+# define XcursorLibraryDir $(TOP)/../../imports
-+# endif
++# endif
+
-+/*
-+ * We want to be sure that the normal XFree86 X server and the debugging X
-+ * server use the same FreeType2 library. We'd *like* it if we could
-+ * achieve this by both packages dynamically linking against the system's
-+ * FreeType2 library; however, the normal X server package
-+ * (xserver-xorg) *cannot* be built dynamically linked against the
-+ * FreeType2 library when the module loader is enabled because of
-+ * code/design issues. Therefore, we encapsulate XFree86's internal "fork"
-+ * of the FreeType2 library into *both* xserver-xorg and
-+ * xserver-xorg-dbg. When it becomes possible to build the
-+ * module-loading server against an external FreeType2 shared library, we
-+ * can drop this define:
-+ */
-+# define FontLibSharedFreeType NO
++/* Wraphelp.c magic is supplied via a custom patch. */
++# define HasXdmAuth YES
+
-+# define HasLinuxInput NO
-+# define HasXdmAuth YES
-+# define HasLatex YES
++# define HasGlide2 NO
++# define HasGlide3 NO
++
++/* Enable extended instruction set support. */
+# ifdef i386Architecture
+# define HasX86Support YES
+# define HasMMXSupport YES
+# define Has3DNowSupport YES
+# define HasSSESupport YES
+# endif /* i386Architecture */
-+#endif /* DebianMaintainer */
++# endif /* DebianMaintainer */
+
- #define GNUSourceDefines -D_POSIX_C_SOURCE=199309L \
- -D_POSIX_SOURCE -D_XOPEN_SOURCE \
- -D_BSD_SOURCE -D_SVID_SOURCE
-@@ -66,6 +214,14 @@
++#ifndef BinUtilsMajorVersion
++# define BinUtilsMajorVersion GnuBinUtilsMajorVersion
++#endif
++
++#ifndef GnuLocaleDefines
++# define GnuLocaleDefines /**/
++#endif
++
++#ifndef GnuAdditionalIncludes
++# define GnuAdditionalIncludes /**/
++#endif
++
++#ifndef GnuGnuSourceDefines
++# ifdef UseInstalled
++# define GnuGnuSourceDefines /**/
++# else
++# define GnuGnuSourceDefines -D_GNU_SOURCE
++# endif
++#endif
+
++# define GnuSourceDefines -D_POSIX_C_SOURCE=199309L \
++ -D_POSIX_SOURCE -D_XOPEN_SOURCE \
++ -D_BSD_SOURCE -D_SVID_SOURCE \
++ GnuAdditionalIncludes GnuGnuSourceDefines \
++ GnuLocaleDefines
++# define XawI18nDefines -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H
+ #define HasPosixThreads YES
+ #define ThreadedX YES
+ #define HasThreadSafeAPI YES
+ #define ThreadsLibraries -lpthread
+ #define SystemMTDefines -D_REENTRANT
+-
+-#define HasDevRandom YES
+-#define PollDevRandom YES
+-
+ #ifndef HasLibCrypt
+ #define HasLibCrypt YES
+ #endif
++/* netscape wraps select but not poll as of communicator 4.72 */
++# ifndef HasPoll
++# define HasPoll NO
++# endif
++
++#ifndef InstallXloadSetGID
++#define InstallXloadSetGID NO
++#endif
++
++#ifndef BuildIPv6
++#define BuildIPv6 NO
++#endif
++
++#ifndef HasLinuxInput
++# define HasLinuxInput NO
++#endif
++
++#ifndef JoystickSupport
++# define JoystickSupport NO
++#endif
++#ifndef HasLinuxJoystick
++# define HasLinuxJoystick NO
++#endif
++
++#define LibtoolMinorVersions YES
++
++#ifndef HasMTRRSupport
++# define HasMTRRSupport NO
++#endif
++
++#ifndef XF86INT10_BUILD
++# define XF86INT10_BUILD X86EMU_GENERIC
++#endif
++
++#ifndef BuildXF86DRI
++# define BuildXF86DRI NO
++#endif
++
++#ifndef HasAgpGart
++# define HasAgpGart NO
++#endif
++
++#ifndef HasSSESupport
++# if defined(i386Architecture)
++# define HasSSESupport YES
++# endif
++#endif
++
++#ifndef HasMMXSupport
++# if defined(i386Architecture)
++# define HasMMXSupport YES
++# endif
++#endif
++
++#ifndef Has3DNowSupport
++# if defined(i386Architecture)
++# define Has3DNowSupport YES
++# endif
++#endif
+
+ #ifndef BuildXF86RushExt
+ # define BuildXF86RushExt YES
+ #endif
+
++#ifndef LinuxFBDevSupport
++# define LinuxFBDevSupport NO
++#endif
++
++#define SourceDefines GnuSourceDefines
++
+ #define BuildLibPathVar LD_LIBRARY_PATH
+ #define GccUsesGas YES
+ #define UseGas YES
+ #define GnuCpp YES
++#ifndef HasDlopen
+ #define HasDlopen YES
++#endif
++#define HasWeakSymbols YES
+ #ifndef HasShadowPasswd
+ # define HasShadowPasswd YES
+ #endif
+ #define HasPutenv YES
+-
+-XCOMM Not implemented and will always fail.
++#ifndef HasShm
+ #define HasShm YES
+-
+-#define HasBSD44Sockets YES
++#endif
+ #define HasSockets YES
++#ifndef HasSnprintf
+ #define HasSnprintf YES
++#endif
+ #define HasMkstemp YES
++#ifndef HasGetresuid
++#define HasGetresuid YES
++#endif
++#ifndef HasUsableFileMmap
+ #define HasUsableFileMmap YES
++#endif
+ #ifndef HasNCurses
#define HasNCurses YES
#endif
@@ -178,26 +369,139 @@
+#define HasGroff YES
+#endif
+
++#ifndef HasZlib
++#define HasZlib YES
++#endif
++
+#ifndef HasLibpng
+#define HasLibpng YES
+#endif
+
++#ifndef HasExpat
++# define HasExpat YES
++#endif
++
++#ifndef HasFreetype2
++# define HasFreetype2 YES
++#endif
++
#define AvoidNullMakeCommand YES
#ifndef DebuggableLibraries
#define DebuggableLibraries NO
-@@ -108,8 +264,8 @@
- #ifndef DoLoadableServer
- #define DoLoadableServer YES
+@@ -85,32 +394,64 @@
+ #define UseStaticTermcapLib NO
#endif
+
++#ifndef HasCookieMaker
++#define HasCookieMaker YES
++#define MkCookieCmd mcookie
++#endif
++
++#ifndef BourneShell
++/*
++ * This will cause builds/installs to terminate on errors, as on other
++ * platforms.
++ */
++#define BourneShell /bin/sh -e
++#endif
++
+ #define MkdirHierCmd mkdir -p
++
++#ifndef DoLoadableServer
++# define DoLoadableServer YES
++#endif
++
++
+ #ifndef CcCmd
+ #define CcCmd gcc
++# define CplusplusCmd c++
+ #endif
+ #ifndef AsCmd
+-#define AsCmd as
++# define AsCmd CcCmd -c -x assembler
+ #endif
++# define AsmDefines -D__ELF__
+ #ifndef LdCmd
+-#define LdCmd ld
++# define LdCmd CcCmd -nostdlib
++# endif
++# ifndef GnuUsesNcurses
++# define GnuUsesNcurses YES
+ #endif
+-
+-#define AsmDefines -D__ELF__
+-#define CplusplusCmd c++
+ #ifndef TermcapLibrary
+ #if UseStaticTermcapLib
++# if GnuUsesNcurses
+ #define TermcapLibrary StaticLibrary(/usr/lib,ncurses)
+ #else
++# define TermcapLibrary StaticLibrary(/usr/lib/termcap,termcap)
++# endif
++# else
++# if GnuUsesNcurses
+ #define TermcapLibrary -lncurses
++# else
++# define TermcapLibrary -ltermcap
+ #endif
+ #endif
+-#ifndef DoLoadableServer
+-#define DoLoadableServer YES
+ #endif
-#ifndef
-#define CppCmd /lib/cpp
++
++/*
++ * Some older distros still need /lib/cpp. There's probably a better
++ * test, but this handles the older Red Hat releases at least.
++ */
+#ifndef CppCmd
-+#define CppCmd /usr/bin/cpp
++# define CppCmd cpp
#endif
++
#define YaccCmd bison -y
#define LexCmd flex -l
-@@ -144,6 +300,14 @@
+ #define HasFlex YES
+@@ -126,30 +467,68 @@
+ #define StandardCppDefines StandardDefines
+ #define HasVarRun YES
++#ifndef VarDbDirectory
+ #define VarDbDirectory $(VARDIR)/lib
++#endif
++
++#ifndef OSXInputDrivers
++# define OSXInputDrivers1 /**/
++# define OSXInputDrivers2 /**/
++# define OSXInputDrivers OSXInputDrivers1 OSXInputDrivers2
++#endif
+
+-XCOMM i386Architecture
+-#define OptimizedCDebugFlags DefaultGcc2i386Opt
+-#define GNUMachineDefines -D__i386__
++#define HasPlugin YES
++#define VendorHasX11R6_3libXext YES /* XC or XFree86 >= 3.3.1 */
++
++#ifdef i386Architecture
++# ifndef OptimizedCDebugFlags
++# define OptimizedCDebugFlags DefaultGcc2DebugOpt DefaultGcc2OptimizeOpt GccAliasingArgs
++# endif
++# define GnuMachineDefines -D__i386__
+ #define ServerOSDefines XFree86ServerOSDefines -DDDXTIME
+ #define ServerExtraDefines -DGCCUSESGAS XFree86ServerDefines
+-#define HasPlugin YES
+-#define VendorHasX11R6_3libXext YES
++#endif /* i386Architecture */
+
+ #ifndef StandardDefines
+-#define StandardDefines GNUMachineDefines GNUSourceDefines
++# define StandardDefines -DGnu GnuMachineDefines GnuSourceDefines
+ #endif
+
++#ifndef DlLibrary
+ #define DlLibrary -rdynamic -ldl
++#endif
+
#define ServerExtraSysLibs /**/
+#ifndef PamLibraries
@@ -208,6 +512,50 @@
+#define PamMiscLibraries -lpam_misc
+#endif
+
++#ifndef HasDECnet
++#define HasDECnet NO
++#endif
++#if HasDECnet
++# define ConnectionFlags -DUNIXCONN -DTCPCONN -DDNETCONN
++# define ExtraLibraries -ldnet
++#else
#define ConnectionFlags -DUNIXCONN -DTCPCONN
++#endif
#ifndef StaticLibrary
+ #define StaticLibrary(libpath,libname) -Wl,-Bstatic Concat(-L,libpath) Concat(-l,libname) -Wl,-Bdynamic
+ #endif
+
++#ifndef LinkGLToUsrLib
++# define LinkGLToUsrLib YES
++#endif
++# ifndef LinkGLToUsrInclude
++# define LinkGLToUsrInclude YES
++#endif
++
++
+ #define HasGnuMake YES
+
+ #define MakeNamedTargetSubdir(dir,flags,subname)\
+@@ -157,12 +536,16 @@
+
+ #define ArchitectureDefines -DGNU_ARCHITECTURE
+
+-#define XserverNeedsSetUID YES
+-
+-#include <gnuLib.rules>
++#define TtClientLibs $(TTLIB) $(XTOOLLIB) $(XLIB)
++#define TtClientDepLibs $(DEPTTLIB) $(DEPXTOOLLIB) $(DEPXLIB)
+
+-XCOMM XXX Might need this if they are not careful with slashes.
+-XCOMM #define DirFailPrefix -
++#ifndef BuildDmx
++#define BuildDmx YES
++#endif
+
++#include <gnuLib.rules>
+ #include <xorg.cf>
+
++#ifndef XFree86ServerOSDefines
++# define XFree86ServerOSDefines
++#endif
Reply to: