[Xorg-commit] xc/config/cf FreeBSD.cf,1.1.4.4,1.1.4.5 Imake.cf,1.1.4.5,1.1.4.6 Imake.tmpl,1.1.4.5,1.1.4.6 OpenBSD.cf,1.1.4.2,1.1.4.3 OpenBSDLib.rules,1.1.4.1,1.1.4.2 OpenBSDLib.tmpl,1.1.4.2,1.1.4.3 README,1.1.4.2,1.1.4.3 X11.tmpl,1.1.4.5,1.1.4.6 bsdLib.rules,1.1.4.2,1.1.4.3 bsdi.cf,1.1.4.2,1.1.4.3 cygwin.cf,1.1.4.1,1.1.4.2 cygwin.rules,1.1.4.1,1.1.4.2 cygwin.tmpl,1.1.4.2,1.1.4.3 darwin.cf,1.1.4.2,1.1.4.3 gnu.cf,1.1.4.1,1.1.4.2 gnuLib.rules,1.1.4.1,1.1.4.2 kdrive.cf,1.1,1.1.4.1 linux.cf,1.1.4.4,1.1.4.5 lnxLib.rules,1.1.4.2,1.1.4.3 lynx.cf,1.1.4.2,1.1.4.3 sco5.cf,1.1.4.2,1.1.4.3 scoLib.rules,1.1.4.2,1.1.4.3 sun.cf,1.1.4.6,1.1.4.7 svr3.cf,1.1.4.1,1.1.4.2 svr4.cf,1.1.4.2,1.1.4.3 xfree86.cf,1.1.4.3,1.1.4.4

Kaleb Keithley xorg-commit at pdx.freedesktop.org
Wed May 9 17:30:30 EEST 2007


Committed by: kaleb

Update of /cvs/xorg/xc/config/cf
In directory pdx:/home/kaleb/xorg/xc.XORG-CURRENT/config/cf

Modified Files:
      Tag: XORG-CURRENT
	FreeBSD.cf Imake.cf Imake.tmpl OpenBSD.cf OpenBSDLib.rules 
	OpenBSDLib.tmpl README X11.tmpl bsdLib.rules bsdi.cf cygwin.cf 
	cygwin.rules cygwin.tmpl darwin.cf gnu.cf gnuLib.rules 
	kdrive.cf linux.cf lnxLib.rules lynx.cf sco5.cf scoLib.rules 
	sun.cf svr3.cf svr4.cf xfree86.cf 
Log Message:
merge most of XFree86 RC3 (4.3.99.903) from vendor branch.
bug #214


Index: FreeBSD.cf
===================================================================
RCS file: /cvs/xorg/xc/config/cf/FreeBSD.cf,v
retrieving revision 1.1.4.4
retrieving revision 1.1.4.5
diff -u -d -r1.1.4.4 -r1.1.4.5
--- a/FreeBSD.cf	26 Dec 2003 21:33:10 -0000	1.1.4.4
+++ b/FreeBSD.cf	23 Feb 2004 21:31:43 -0000	1.1.4.5
@@ -3,7 +3,7 @@
 XCOMM
 XCOMM
 XCOMM
-XCOMM platform:  $XFree86: xc/config/cf/FreeBSD.cf,v 3.145 2003/12/06 19:24:11 dawes Exp $
+XCOMM platform:  $XFree86: xc/config/cf/FreeBSD.cf,v 3.148 2004/02/07 04:30:15 dawes Exp $
 
 #ifndef UseElfFormat
 #define UseElfFormat		DefaultToElfFormat
@@ -131,6 +131,7 @@
 #  endif
 #  if (OSRelVersion >= 500016)
 #   define ThreadsLibraries	-lc_r
+#   define SharedGLReqs		$(LDPRELIBS) $(XLIB) -lc
 #  else
 #   define ThreadsLibraries	-pthread
 #  endif
@@ -326,22 +327,53 @@
  * and they can remove it from the list of directories they add to ld.so.cache 
  * in their /etc/rc file.
  */
-#if OSMajorVersion > 2 || (OSMajorVersion == 2 && OSMinorVersion >= 2)
-#ifndef ExtraLoadFlags
-#if UseElfFormat
-#define ExtraLoadFlags		-Wl,-rpath,$(USRLIBDIRPATH) -Wl,-rpath-link,$(BUILDLIBDIR)
-#else
-#define ExtraLoadFlags		-Wl,-R,$(USRLIBDIRPATH)
+
+#ifndef UseRpath
+# define UseRpath		YES
 #endif
+
+#if OSMajorVersion > 2 || (OSMajorVersion == 2 && OSMinorVersion >= 2)
+
+# ifndef RpathLoadFlags
+#  if UseRpath
+#   if UseElfFormat
+#    define RpathLoadFlags	-Wl,-rpath,$(USRLIBDIRPATH)
+#   else
+#    define RpathLoadFlags	-Wl,-R,$(USRLIBDIRPATH)
+#   endif
+#  else
+#   define RpathLoadFlags	/**/
+#  endif
+# endif
+
+# ifndef ExtraLoadFlags
+#  if UseElfFormat && !defined(UseInstalled)
+#   define ExtraLoadFlags	RpathLoadFlags -Wl,-rpath-link,$(BUILDLIBDIR)
+#  else
+#   define ExtraLoadFlags	RpathLoadFlags
+#  endif
+# endif
+
 #endif
+
+#ifndef LibraryRpathLoadFlags
+# if UseRpath
+#  if UseElfFormat
+#   define LibraryRpathLoadFlags	-rpath $(USRLIBDIRPATH)
+#  else
+#   define LibraryRpathLoadFlags	-R $(USRLIBDIRPATH)
+#  endif
+# else
+#  define LibraryRpathLoadFlags		/**/
+# endif
 #endif
 
 #ifndef SharedLibraryLoadFlags
-#if UseElfFormat
-#define SharedLibraryLoadFlags	-shared -rpath $(USRLIBDIRPATH)
-#else
-#define SharedLibraryLoadFlags	-Bshareable -R $(USRLIBDIRPATH)
-#endif
+# if UseElfFormat
+#  define SharedLibraryLoadFlags	-shared LibraryRpathLoadFlags
+# else
+#  define SharedLibraryLoadFlags	-Bshareable LibraryRpathLoadFlags
+# endif
 #endif
 
 #ifndef GnuMallocLibrary

Index: Imake.cf
===================================================================
RCS file: /cvs/xorg/xc/config/cf/Imake.cf,v
retrieving revision 1.1.4.5
retrieving revision 1.1.4.6
diff -u -d -r1.1.4.5 -r1.1.4.6
--- a/Imake.cf	20 Dec 2003 00:28:21 -0000	1.1.4.5
+++ b/Imake.cf	23 Feb 2004 21:31:43 -0000	1.1.4.6
@@ -18,7 +18,7 @@
  *
  *     4.  Create a .cf file with the name given by MacroFile.
  */
-XCOMM $XFree86: xc/config/cf/Imake.cf,v 3.88 2003/12/16 21:30:21 herrb Exp $
+XCOMM $XFree86: xc/config/cf/Imake.cf,v 3.89 2004/01/25 01:12:20 dawes Exp $
 
 #if defined(__APPLE__)
 # undef __APPLE__
@@ -80,10 +80,13 @@
 # define VaxArchitecture
 #endif /* vax */
 
-#ifdef bsdi
+#ifdef __bsdi__
 # define MacroIncludeFile <bsdi.cf>
 # define MacroFile bsdi.cf
-# undef bsdi
+# undef __bsdi__
+# ifdef bsdi
+#  undef bsdi
+# endif
 # define BSDOSArchitecture
 # if defined(__i386__) || defined(i386)
 #  define i386BsdArchitecture
@@ -91,7 +94,14 @@
 #  undef i386
 #  undef __i386__
 # endif
+# if defined(__ppc__) || defined(ppc)
+#  define PpcBsdArchitecture
+#  define PpcArchitecture
+#  undef ppc
+#  undef __ppc__
+# endif
 # if defined(__sparc__) || defined(__sparc_v9__) || defined(sparc)
+#  define SparcBsdArchitecture
 #  define SparcArchitecture
 #  undef sparc
 #  undef __sparc__

Index: Imake.tmpl
===================================================================
RCS file: /cvs/xorg/xc/config/cf/Imake.tmpl,v
retrieving revision 1.1.4.5
retrieving revision 1.1.4.6
diff -u -d -r1.1.4.5 -r1.1.4.6
--- a/Imake.tmpl	15 Dec 2003 16:42:40 -0000	1.1.4.5
+++ b/Imake.tmpl	23 Feb 2004 21:31:43 -0000	1.1.4.6
@@ -6,7 +6,7 @@
 XCOMM
 XCOMM
 XCOMM
-XCOMM $XFree86: xc/config/cf/Imake.tmpl,v 3.154 2003/11/04 01:59:31 dawes Exp $
+XCOMM $XFree86: xc/config/cf/Imake.tmpl,v 3.156 2004/01/12 21:43:18 herrb Exp $
 XCOMM ----------------------------------------------------------------------
 
 /*
@@ -906,6 +906,9 @@
 #ifndef DriverManDefs
 #define DriverManDefs -D__drivermansuffix__=$(DRIVERMANSUFFIX)
 #endif
+#ifndef AdminManDefs
+#define AdminManDefs -D__adminmansuffix__=$(ADMINMANSUFFIX)
+#endif
 #ifndef ProjectManDefs
 #define ProjectManDefs -D__projectroot__=$(PROJECTROOT)
 #endif
@@ -1330,7 +1333,7 @@
 #endif
 #endif
 #ifndef LdPostLib
-#if !defined(UseInstalled) && AlternateUsrLibDir && !HasLdRunPath
+#if !defined(UseInstalled) && AlternateUsrLibDir && !HasLdRunPath && !defined(CrossCompileDir)
 #define LdPostLib -L$(USRLIBDIR)
 #else
 #define LdPostLib /**/
@@ -1574,6 +1577,13 @@
 #define DriverManSuffix	4		/* use just one tab or cpp will die */
 #endif
 #endif
+#ifndef AdminManSuffix
+#if SystemV || SystemV4
+#define AdminManSuffix	1m		/* use just one tab or cpp will die */
+#else
+#define AdminManSuffix	8		/* use just one tab or cpp will die */
+#endif
+#endif
 #ifndef ExpandManNames
 #if SystemV
 #define ExpandManNames NO
@@ -1805,9 +1815,10 @@
     FILEMANSUFFIX = FileManSuffix	/* suffix for file format man pages */
     MISCMANSUFFIX = MiscManSuffix	/* suffix for misc man pages */
   DRIVERMANSUFFIX = DriverManSuffix	/* suffix for driver man pages */
+   ADMINMANSUFFIX = AdminManSuffix	/* suffix for admin command man pages */
      MANSRCSUFFIX = ManSrcSuffix	/* suffix for man page source */
      MANNEWSUFFIX = ManNewSuffix	/* suffix for preprocessed man source */
-          MANDEFS = AppLoadDefs FileManDefs LibManDefs MiscManDefs DriverManDefs ProjectManDefs $(XORGMANDEFS) $(VENDORMANDEFS)
+          MANDEFS = AppLoadDefs FileManDefs LibManDefs MiscManDefs DriverManDefs AdminManDefs ProjectManDefs $(XORGMANDEFS) $(VENDORMANDEFS)
 
    COMPRESSMANCMD = CompressManCmd
 
@@ -2078,11 +2089,11 @@
 #endif
 #include LocalTmplFile
 
-#if !BuildLibraries && AlternateIncRoot
+#if !BuildLibraries && AlternateIncRoot && !defined(CrossCompileDir)
 INSTALLED_INCLUDES = -I$(INCROOT)
 #endif
 
-#if !defined(UseInstalled) && !BuildLibraries && AlternateUsrLibDir
+#if !defined(UseInstalled) && !BuildLibraries && AlternateUsrLibDir && !defined(CrossCompileDir)
 INSTALLED_LIBS = -L$(USRLIBDIR)
 #endif
 

Index: OpenBSD.cf
===================================================================
RCS file: /cvs/xorg/xc/config/cf/OpenBSD.cf,v
retrieving revision 1.1.4.2
retrieving revision 1.1.4.3
diff -u -d -r1.1.4.2 -r1.1.4.3
--- a/OpenBSD.cf	6 Dec 2003 13:22:41 -0000	1.1.4.2
+++ b/OpenBSD.cf	23 Feb 2004 21:31:43 -0000	1.1.4.3
@@ -1,5 +1,5 @@
+XCOMM platform:  $XFree86: xc/config/cf/OpenBSD.cf,v 3.101 2004/01/09 00:35:00 dawes Exp $
 XCOMM $XdotOrg$
-XCOMM platform:  $XFree86: xc/config/cf/OpenBSD.cf,v 3.99 2003/11/23 21:29:00 herrb Exp $
 XCOMM
 
 #ifndef OSName
@@ -415,7 +415,8 @@
 #   ifndef HasNetBSDApertureDriver
 #     define HasNetBSDApertureDriver	YES
 #   endif
-#   define ServerOSDefines	XFree86ServerOSDefines -DDDXTIME -DDDXOSINIT
+#   define ServerOSDefines	XFree86ServerOSDefines \
+				-DDDXTIME -DDDXOSINIT
 #   define ServerExtraDefines	GccGasOption -D_XSERVER64 XFree86ServerDefines
 #   define ServerExtraSysLibs	-lalpha
 #   ifndef DoLoadableServer
@@ -445,7 +446,7 @@
 /* Direct rendering (OpenBSD 3.3 and up). */ 
 # if OSMajorVersion > 3 || (OSMajorVersion == 3 && OSMinorVersion > 2)
 #  ifndef BuildXF86DRI
-#   define BuildXF86DRI			YES
+#   define BuildXF86DRI			NO
 #  endif 
 #  ifndef BuildXF86DRM
 #   define BuildXF86DRM			NO
@@ -721,7 +722,8 @@
 
 /* Definitions for building the X server */
 # if XF86Server
-#   define ServerOSDefines	XFree86ServerOSDefines -DDDXTIME -DDDXOSINIT
+#   define ServerOSDefines	XFree86ServerOSDefines \
+				-DDDXTIME -DDDXOSINIT
 #   define ServerExtraDefines	GccGasOption XFree86ServerDefines
 #   ifndef DoLoadableServer
 #     define DoLoadableServer	YES
@@ -809,7 +811,8 @@
 # endif
 
 # define ServerExtraDefines	GccGasOption -D_XSERVER64 XFree86ServerDefines
-# define ServerOSDefines	XFree86ServerOSDefines -DDDXTIME -DDDXOSINIT
+# define ServerOSDefines	XFree86ServerOSDefines \
+				-DDDXTIME -DDDXOSINIT
 # define XkbServerDefines	-DXKB_ALWAYS_USES_SOFT_REPEAT
 
 # if XF86Server

Index: OpenBSDLib.rules
===================================================================
RCS file: /cvs/xorg/xc/config/cf/OpenBSDLib.rules,v
retrieving revision 1.1.4.1
retrieving revision 1.1.4.2
diff -u -d -r1.1.4.1 -r1.1.4.2
--- a/OpenBSDLib.rules	26 Nov 2003 22:48:15 -0000	1.1.4.1
+++ b/OpenBSDLib.rules	23 Feb 2004 21:31:43 -0000	1.1.4.2
@@ -7,7 +7,7 @@
  * OpenBSD shared library rules
  */
 
-XCOMM $XFree86: xc/config/cf/OpenBSDLib.rules,v 1.10 2003/10/31 20:49:03 herrb Exp $
+XCOMM $XFree86: xc/config/cf/OpenBSDLib.rules,v 1.11 2004/01/27 01:37:38 dawes Exp $
 
 #ifndef UseElfFormat
 #define UseElfFormat NO
@@ -20,6 +20,10 @@
 #define ForceNormalLib YES
 #endif
 
+#ifndef UseRpath
+#define UseRpath YES
+#endif
+
 #ifndef BaseShLibReqs
 #define BaseShLibReqs		/* -lc implied by $(CC) */
 #endif
@@ -36,8 +40,18 @@
 #ifndef ShLibIncludeFile
 #define ShLibIncludeFile <OpenBSDLib.tmpl>
 #endif
+#ifndef RpathLoadFlags
+#if UseRpath
+#define RpathLoadFlags -Wl,-rpath,$(USRLIBDIRPATH)
+#else
+#define RpathLoadFlags /**/
+#endif
+#endif
+#ifndef LibraryRpathLoadFlags
+#define LibraryRpathLoadFlags RpathLoadFlags
+#endif
 #ifndef SharedLibraryLoadFlags
-#define SharedLibraryLoadFlags -shared PositionIndependentCFlags -Wl,-rpath,$(USRLIBDIR)
+#define SharedLibraryLoadFlags -shared PositionIndependentCFlags LibraryRpathLoadFlags
 #endif
 #ifndef PositionIndependentCFlags
 #define PositionIndependentCFlags -fPIC
@@ -48,13 +62,13 @@
 #if UseElfFormat
 #ifndef ExtraLoadFlags
 #ifdef UseInstalled
-#define ExtraLoadFlags -Wl,-rpath,$(USRLIBDIRPATH)
+#define ExtraLoadFlags RpathLoadFlags
 #else
-#define ExtraLoadFlags -Wl,-rpath,$(USRLIBDIRPATH) -Wl,-rpath-link,$(BUILDLIBDIR)
+#define ExtraLoadFlags RpathLoadFlags -Wl,-rpath-link,$(BUILDLIBDIR)
 #endif
 #endif
 #ifndef HardCodeLibdirFlag
-#define HardCodeLibdirFlag -Wl,-rpath,$(USRLIBDIRPATH)
+#define HardCodeLibdirFlag RpathLoadFlags
 #endif
 #endif /* UseElfFormat */
 

Index: OpenBSDLib.tmpl
===================================================================
RCS file: /cvs/xorg/xc/config/cf/OpenBSDLib.tmpl,v
retrieving revision 1.1.4.2
retrieving revision 1.1.4.3
diff -u -d -r1.1.4.2 -r1.1.4.3
--- a/OpenBSDLib.tmpl	18 Dec 2003 19:29:11 -0000	1.1.4.2
+++ b/OpenBSDLib.tmpl	23 Feb 2004 21:31:43 -0000	1.1.4.3
@@ -1,7 +1,13 @@
 XCOMM platform:	$XdotOrg$
 XCOMM platform:	$OpenBSD: OpenBSDLib.tmpl,v 1.6 2003/04/04 19:48:58 matthieu Exp $
-XCOMM platform: $XFree86: xc/config/cf/OpenBSDLib.tmpl,v 1.8 2003/10/15 21:23:37 herrb Exp $
+XCOMM platform: $XFree86: xc/config/cf/OpenBSDLib.tmpl,v 1.9 2004/01/10 09:09:51 herrb Exp $
 XCOMM
+
+/* Shared libraries dependencies */
+#if HasGcc && GccMajorVersion >= 3
+# define SharedGLUReqs	$(LDPRELIB) $(XLIB) $(GLXLIB) -lsupc++
+#endif 
+
 /* Shared Library Revisions. Crank major on API Changes */
 
 #if OverrideShlibRevs
@@ -50,7 +56,12 @@
 #  define SharedPSResRev 2.0
 # endif
 # ifndef SharedGluRev
-#  define SharedGluRev 2.0
+#  if HasGcc && GccMajorVersion >= 3
+    /* Gcc 3 changes the name mangling scheme on OpenBSD */
+#   define SharedGluRev	3.0
+#  else
+#   define SharedGluRev 2.0
+#  endif
 # endif
 # ifndef SharedGlxRev
 #  define SharedGlxRev 2.0

Index: README
===================================================================
RCS file: /cvs/xorg/xc/config/cf/README,v
retrieving revision 1.1.4.2
retrieving revision 1.1.4.3
diff -u -d -r1.1.4.2 -r1.1.4.3
--- a/README	26 Nov 2003 22:48:15 -0000	1.1.4.2
+++ b/README	23 Feb 2004 21:31:43 -0000	1.1.4.3
@@ -3,7 +3,7 @@
 
 
 
-$XFree86: xc/config/cf/README,v 1.20 2003/04/14 20:35:50 herrb Exp $
+$XFree86: xc/config/cf/README,v 1.21 2003/12/20 19:31:46 dawes Exp $
 
 The easiest way to write an Imakefile is to find another one that does
 something similar and copy/modify it!
@@ -25,7 +25,6 @@
 	CURDIR			current directory relative to top of sources
 	CcCmd			command to run C compiler
 	CompressCmd		command to run compress program
-	GzipCmd			command to run gzip program
 	ConstructMFLAGS		System V option to set MFLAGS make variable
 	CpCmd			command to copy one file to another
 	CplusplusCmd		command to run C++ compiler
@@ -50,6 +49,7 @@
 	FortranCmd		command to run Fortran compiler
 	FortranDebugFlags	flags for Fortran debug info
 	FortranFlags		Fortran compiler flags
+	GzipCmd			command to run gzip program
 	HasBSD44Sockets		boolean for system has BSD4.4 sockets
 	HasBsdMake		use the 4.4BSD variant of the make program?
 	HasBsearch		boolean for libc has bsearch()
@@ -218,6 +218,8 @@
 	DefaultUserPath		default user xdm PATH environment variable
 	DependCmd		command to run makedepend
 	DependDir		build directory containing makedepend program
+	DriverManDir		directory in which to install driver man pages
+	DriverManSuffix		man suffix for driver pages
 	ExtensionDefines	-D's for universal extensions
 	ExtensionOSDefines	-D's for additional extensions
 	FontCompilerFlags	flags for bdftosnf
@@ -246,6 +248,7 @@
 	ManSourcePath		common prefix of man page directories
 	ManSuffix		man suffix for programs
 	MiscManSuffix		man suffix for miscellaneous pages
+	MiscManDir		directory in which to install misc man pages
 	NeedDefaultDepLibs	boolean for enabling default DEPLIBS
 	NlsDir			directory in which to install nls files
 	NormalLibFS		build libFS.a

Index: X11.tmpl
===================================================================
RCS file: /cvs/xorg/xc/config/cf/X11.tmpl,v
retrieving revision 1.1.4.5
retrieving revision 1.1.4.6
diff -u -d -r1.1.4.5 -r1.1.4.6
--- a/X11.tmpl	11 Feb 2004 17:46:29 -0000	1.1.4.5
+++ b/X11.tmpl	23 Feb 2004 21:31:43 -0000	1.1.4.6
@@ -6,7 +6,7 @@
 XCOMM
 XCOMM
 XCOMM
-XCOMM $XFree86: xc/config/cf/X11.tmpl,v 1.239 2003/12/12 03:20:32 dawes Exp $
+XCOMM $XFree86: xc/config/cf/X11.tmpl,v 1.247 2004/02/10 10:38:56 alanh Exp $
 
 /***************************************************************************
  *                                                                         *
@@ -159,9 +159,6 @@
 #ifndef BuildCyrillicFonts
 #define BuildCyrillicFonts	YES
 #endif
-#ifndef UseKoi8RForCyrillic
-#define UseKoi8RForCyrillic	YES
-#endif
 /* Some bdf font generation details.  The scripts for this require perl. */
 #ifndef TruncateUCSFonts
 #define TruncateUCSFonts	HasPerl5
@@ -600,6 +597,10 @@
 #define BuildAppleWMLibrary	NO
 #endif
 
+#ifndef BuildWindowsWMLibrary
+#define BuildWindowsWMLibrary	NO
+#endif
+
 #ifndef BuildMiscDocs
 #define BuildMiscDocs		NO
 #endif
@@ -693,17 +694,9 @@
 #define DefaultFontPath $(FONTDIR)/misc/,$(FONTDIR)/75dpi/,$(FONTDIR)/100dpi/
 #else
 #if PrimaryScreenResolution < 88		/* (75 + 100) / 2 */
-#if BuildCIDFonts
-#define DefaultFontPath $(FONTDIR)/misc/,$(FONTDIR)/Speedo/,$(FONTDIR)/Type1/,$(FONTDIR)/CID/,$(FONTDIR)/75dpi/,$(FONTDIR)/100dpi/
-#else
-#define DefaultFontPath $(FONTDIR)/misc/,$(FONTDIR)/Speedo/,$(FONTDIR)/Type1/,$(FONTDIR)/75dpi/,$(FONTDIR)/100dpi/
-#endif
-#else
-#if BuildCIDFonts
-#define DefaultFontPath $(FONTDIR)/misc/,$(FONTDIR)/Speedo/,$(FONTDIR)/Type1/,$(FONTDIR)/CID/,$(FONTDIR)/100dpi/,$(FONTDIR)/75dpi/
+#define DefaultFontPath $(FONTDIR)/misc/,$(FONTDIR)/TTF/,$(FONTDIR)/Speedo/,$(FONTDIR)/Type1/,$(FONTDIR)/CID/,$(FONTDIR)/75dpi/,$(FONTDIR)/100dpi/
 #else
-#define DefaultFontPath $(FONTDIR)/misc/,$(FONTDIR)/Speedo/,$(FONTDIR)/Type1/,$(FONTDIR)/100dpi/,$(FONTDIR)/75dpi/
-#endif
+#define DefaultFontPath $(FONTDIR)/misc/,$(FONTDIR)/TTF/,$(FONTDIR)/Speedo/,$(FONTDIR)/Type1/,$(FONTDIR)/CID/,$(FONTDIR)/100dpi/,$(FONTDIR)/75dpi/
 #endif
 #endif
 #endif
@@ -1299,9 +1292,6 @@
 #ifndef XTrueTypeStandAloneCConv
 #define XTrueTypeStandAloneCConv NO
 #endif
-#ifndef XTTInLibXFont
-#define XTTInLibXFont NO
-#endif
 #ifndef XTrueTypeSrcDir
 #define XTrueTypeSrcDir $(TOP)/extras/X-TrueType
 #endif
@@ -1599,11 +1589,12 @@
               RGB = $(CLIENTENVSETUP) $(XBUILDBINDIR)/rgb
 # if !CrossCompiling
             FONTC = $(CLIENTENVSETUP) $(PRELOADFONTSETUP) $(XBUILDBINDIR)/bdftopcf
-  MKFONTSCALE_DIR = $(PRELOADFREETYPESETUP) $(XBUILDBINDIR)/mkfontscale -b -s -l
-        MKFONTDIR = $(CLIENTENVSETUP) $(MKFONTSCALE_DIR)
+      MKFONTSCALE = $(CLIENTENVSETUP) $(PRELOADFREETYPESETUP) $(XBUILDBINDIR)/mkfontscale
+        MKFONTDIR = $(MKFONTSCALE) -b -s -l
        XCURSORGEN = $(CLIENTENVSETUP) $(PRELOADSETUP) $(XBUILDBINDIR)/xcursorgen
 # elif UseInstalledOnCrossCompile
         MKFONTDIR = $(BINDIR)/mkfontdir
+      MKFONTSCALE = $(BINDIR)/mkfontscale
             FONTC = $(BINDIR)/bdftopcf
        XCURSORGEN = $(BINDIR)/xcursorgen
 # endif
@@ -2143,6 +2134,30 @@
 #define ProfileLibAppleWM	NO
 #endif
 
+#if BuildWindowsWMLibrary
+#ifndef SharedLibWindowsWM
+#define SharedLibWindowsWM	HasSharedLibraries
+#endif
+#ifndef NormalLibWindowsWM
+#define NormalLibWindowsWM	(!SharedLibWindowsWM || ForceNormalLib)
+#endif
+#ifndef DebugLibWindowsWM
+#define DebugLibWindowsWM	NO
+#endif
+#ifndef ProfileLibWindowsWM
+#define ProfileLibWindowsWM	NO
+#endif
+#else
+#undef  SharedLibWindowsWM
+#define SharedLibWindowsWM	NO
+#undef  NormalLibWindowsWM
+#define NormalLibWindowsWM	NO
+#undef  DebugLibWindowsWM
+#define DebugLibWindowsWM	NO
+#undef  ProfileLibWindowsWM
+#define ProfileLibWindowsWM	NO
+#endif
+
 #if BuildGLULibrary
 #ifndef SharedLibGlu
 #define SharedLibGlu		HasSharedLibraries
@@ -2463,6 +2478,16 @@
 ProjectUnsharedLibReferences(APPLEWM,AppleWM,$(APPLEWMLIBSRC),XBuildLibDir)
 #endif
 
+   WINDOWSWMLIBSRC = $(LIBSRC)/windows
+#if SharedLibWindowsWM
+#ifndef SharedWindowsWMRev
+#define SharedWindowsWMRev 1.0
+#endif
+SharedLibReferences(WINDOWSWM,WindowsWM,$(WINDOWSWMLIBSRC),SOWINDOWSWMREV,SharedWindowsWMRev)
+#else
+ProjectUnsharedLibReferences(WINDOWSWM,WindowsWM,$(WINDOWSWMLIBSRC),XBuildLibDir)
+#endif
+
 # ifndef SharedLibXfontcache
 #  define SharedLibXfontcache	HasSharedLibraries
 # endif
@@ -3652,6 +3677,27 @@
 #endif
 
 /*
+ * MakeFontsScale - generate rules to build fonts.scale database.
+ */
+#ifndef MakeFontsScale
+# if !CrossCompiling ||  UseInstalledOnCrossCompile
+#  define MakeFontsScale(deplist)					@@\
+all:: fonts.scale							@@\
+									@@\
+fonts.scale:  deplist							@@\
+	RemoveFile(fonts.scale)						@@\
+	RunProgram(MKFONTSCALE, .)					@@\
+									@@\
+clean::									@@\
+	RemoveFile(fonts.scale)
+# else
+#  define MakeFontsScale(deplist)					@@\
+clean::									@@\
+	RemoveFile(fonts.scale)
+# endif
+#endif /* MakeFontsScale */
+
+/*
  * MakeFontsDir - generate rules to build fonts.dir database.
  */
 #ifndef MakeFontsDir
@@ -3660,6 +3706,7 @@
 all:: fonts.dir								@@\
 									@@\
 fonts.dir:  deplist							@@\
+	RemoveFile(fonts.dir)						@@\
 	RunProgram(MKFONTDIR, $(MKFONTDIROPTS) .)			@@\
 									@@\
 clean::									@@\
@@ -3693,6 +3740,18 @@
 # endif
 #endif /* MakeFonts */
 
+#ifndef InstallFontsDir
+# if !CrossCompiling ||  UseInstalledOnCrossCompile
+#  define InstallFontsDir(dest)						@@\
+install::								@@\
+	RemoveFile($(DESTDIR)dest/fonts.scale)				@@\
+	RunProgram(MKFONTSCALE, $(DESTDIR)dest)				@@\
+	RemoveFile($(DESTDIR)dest/fonts.dir)				@@\
+	RunProgram(MKFONTDIR, $(MKFONTDIROPTS) $(DESTDIR)dest)
+# else
+#  define InstallFontsDir(dest)
+# endif
+#endif
 
 /*
  * InstallFontObjs - generate rules to install font files
@@ -3702,7 +3761,7 @@
 #  define InstallFontObjs(objs,dest)					@@\
 InstallMultipleFlags(objs,dest,$(INSTDATFLAGS))				@@\
 									@@\
-InstallTarget(install,fonts.dir,$(INSTDATFLAGS),dest)
+InstallFontsDir(dest)
 # else
 #  define InstallFontObjs(objs,dest)
 # endif

Index: bsdLib.rules
===================================================================
RCS file: /cvs/xorg/xc/config/cf/bsdLib.rules,v
retrieving revision 1.1.4.2
retrieving revision 1.1.4.3
diff -u -d -r1.1.4.2 -r1.1.4.3
--- a/bsdLib.rules	26 Nov 2003 22:48:15 -0000	1.1.4.2
+++ b/bsdLib.rules	23 Feb 2004 21:31:43 -0000	1.1.4.3
@@ -4,7 +4,7 @@
 
 
 
-XCOMM $XFree86: xc/config/cf/bsdLib.rules,v 3.27 2003/11/20 00:41:37 dawes Exp $
+XCOMM $XFree86: xc/config/cf/bsdLib.rules,v 3.28 2004/01/27 01:37:39 dawes Exp $
 /*
  * NetBSD/FreeBSD shared library rules
  */
@@ -170,6 +170,10 @@
 #define ForceNormalLib YES
 #endif
 
+#ifndef UseRpath
+#define UseRpath YES
+#endif
+
 #ifndef BaseShLibReqs
 #define BaseShLibReqs		/* -lc */
 #endif
@@ -186,8 +190,18 @@
 #ifndef ShLibIncludeFile
 #define ShLibIncludeFile <bsdLib.tmpl>
 #endif
+#ifndef RpathLoadFlags
+#if UseRpath
+#define RpathLoadFlags -Wl,-rpath,$(USRLIBDIRPATH)
+#else
+#define RpathLoadFlags /**/
+#endif
+#endif
+#ifndef LibraryRpathLoadFlags
+#define LibraryRpathLoadFlags RpathLoadFlags
+#endif
 #ifndef SharedLibraryLoadFlags
-#define SharedLibraryLoadFlags -shared -Wl,-rpath,$(USRLIBDIRPATH)
+#define SharedLibraryLoadFlags -shared LibraryRpathLoadFlags
 #endif
 #ifndef PositionIndependentCFlags
 #define PositionIndependentCFlags -fPIC
@@ -197,14 +211,14 @@
 #endif
 #ifndef ExtraLoadFlags
 #ifdef UseInstalled
-#define ExtraLoadFlags -Wl,-rpath,$(USRLIBDIRPATH)
+#define ExtraLoadFlags RpathLoadFlags
 #else
-#define ExtraLoadFlags -Wl,-rpath,$(USRLIBDIRPATH) -Wl,-rpath-link,$(BUILDLIBDIR)
+#define ExtraLoadFlags RpathLoadFlags -Wl,-rpath-link,$(BUILDLIBDIR)
 #endif
 #endif
 
 #ifndef HardCodeLibdirFlag
-#define HardCodeLibdirFlag -Wl,-rpath,$(USRLIBDIRPATH)
+#define HardCodeLibdirFlag RpathLoadFlags
 #endif
 
 #if !defined(ShlibGlobalsFlags)

Index: bsdi.cf
===================================================================
RCS file: /cvs/xorg/xc/config/cf/bsdi.cf,v
retrieving revision 1.1.4.2
retrieving revision 1.1.4.3
diff -u -d -r1.1.4.2 -r1.1.4.3
--- a/bsdi.cf	26 Nov 2003 22:48:15 -0000	1.1.4.2
+++ b/bsdi.cf	23 Feb 2004 21:31:43 -0000	1.1.4.3
@@ -2,7 +2,7 @@
 
 
 
-XCOMM platform:  $XFree86: xc/config/cf/bsdi.cf,v 3.37 2003/04/24 22:14:53 herrb Exp $
+XCOMM platform:  $XFree86: xc/config/cf/bsdi.cf,v 3.38 2004/01/25 01:12:20 dawes Exp $
 #ifndef OSName
 #define OSName		DefaultOSName
 #endif
@@ -25,17 +25,45 @@
 #define HasDlopen		YES
 #define HasPutenv		YES
 #define HasSnprintf		YES
+#define HasMkstemp		YES
 #define HasUsableFileMmap	YES
 #define HasZlib			YES
+#define HasSetUseContext	YES
+#define HasBSDAuth		YES
+#define HasSetProcTitle		YES
+#define HasBasename		NO
+
+#if 0
+#define HasKrb5			YES
+#define Krb5Include		-I/usr/include/krb5
+#define Krb5Libraries		-lkrb5 -lk5crypto -lprofile -lcom_err
+#endif
+
+#define SharedGLUReqs		$(LDPRELIB) $(XLIB) $(GLXLIB) -lstdc++
 
 #if (OSMajorVersion == 4 && OSMinorVersion >= 1) || (OSMajorVersion > 4)
 #define HasNCurses		YES
 #else
 #define HasNCurses		NO
 #endif
+#if (OSMajorVersion == 4 && OSMinorVersion >= 3) || (OSMajorVersion > 4)
+#define HasStrlcat		YES
+#else
+#define HasStrlcat		NO
+#endif
 
 #define BuildLBX		YES
-#define GzipFontCompression	NO
+#define GzipFontCompression	YES
+#define BuildXaw6		NO
+
+XCOMM BSD/OS 5.1 (intel) comes with gcc 3.2.2 installed as gcc and cc.
+
+XCOMM BSD/OS 5.0 (intel) comes with gcc 2.95.3 installed as gcc and cc.
+
+XCOMM BSD/OS 4.3/4.3.1 (intel) comes with gcc 2.95.3 installed as gcc and cc.
+
+XCOMM BSD/OS 4.2 (intel) comes with gcc 2.95.2 installed as gcc and cc.
+XCOMM BSD/OS 4.2 (sparc) comes with gcc 2.95.2 installed as gcc and cc.
 
 XCOMM BSD/OS 4.1 (intel) comes with gcc 2.91.66 installed as gcc and cc.
 XCOMM BSD/OS 4.1 (sparc) comes with gcc 2.95.2 installed as gcc and cc.
@@ -78,11 +106,21 @@
 # ifdef i386Architecture
 #  define CcCmd			gcc /* shlicc */
 #  define CplusplusCmd		g++ /* shlicc++ */
-#  define OptimizedCDebugFlags	-O2 -m486
-# else
+#  if ((OSMajorVersion == 4 && OSMinorVersion >= 2) || (OSMajorVersion > 4))
+#   define OptimizedCDebugFlags	-O3 -mcpu=pentiumpro -march=pentium
+#  else
+#   define OptimizedCDebugFlags	-O2 -m486
+#  endif
+# endif
+# ifdef PpcArchitecture
 #  define CcCmd			gcc
 #  define CplusplusCmd		g++
-#  define OptimizedCDebugFlags	-O4 -mv8
+#  define OptimizedCDebugFlags	-O2
+# endif
+# ifdef SparcArchitecture
+#  define CcCmd			gcc
+#  define CplusplusCmd		g++
+#  define OptimizedCDebugFlags	-O2 -cpu=v8 -mtune=v8
 # endif
 #else
 # define CcCmd			cc
@@ -90,9 +128,9 @@
 #endif
 
 /*
- * A hack to work around an optimization problem with GCC 2.95.2
+ * A hack to work around an optimization problem with GCC 2.95.2 - 2.95.4
  */
-#if (OSMajorVersion == 4 && OSMinorVersion == 2)
+#if ((OSMajorVersion == 4 && OSMinorVersion >= 2) || (OSMajorVersion > 4))
 #define GccOptBug295
 #endif
 
@@ -128,19 +166,25 @@
 #endif
 
 /*
- * Build a threaded X server on 4.1 and newer systems
+ * Build a threaded X server on BSD/OS 4.1 and newer releases
  */
 #if (OSMajorVersion == 4 && OSMinorVersion >= 1) || (OSMajorVersion > 4)
 #define HasPosixThreads         YES     /* this will autodefine HasThreadedX */
 #define HasThreadSafeAPI        YES
-XCOMM math.h uses _REENTRANT in FreeBSD, so we define it here too
-#define SystemMTDefines         -D_REENTRANT -D_THREAD_SAFE
 /*
  * Heck, build a server that can load modules too...
  */
-#define DoLoadableServer        YES
+#define DoLoadableServer        Yes
+#endif
+
+XCOMM math.h uses _REENTRANT in FreeBSD, so we define it here too
+#if (OSMajorVersion >= 5)
+#define SystemMTDefines         -D_REENTRANT -D_THREAD_SAFE -D_POSIX_THREAD_SAFE_FUNCTIONS
+#elif (OSMajorVersion == 4 && OSMinorVersion >= 1)
+#define SystemMTDefines         -D_REENTRANT -D_THREAD_SAFE
 #endif
 
+
 #ifdef i386Architecture
 #ifndef BuildXF86DRI
 #define BuildXF86DRI            NO
@@ -148,10 +192,21 @@
 #endif
 
 #ifdef i386Architecture
+# define HasTk			YES
+# define TkLibName		tk4.2
+# define TkLibDir		/usr/contrib/lib
+# define TkIncDir		/usr/include
+# define XF86SetupUsesStaticTk	NO
+# define HasTcl			YES
+# define TclLibName		tcl7.6
+# define TclLibDir		/usr/contrib/lib
+# define TclIncDir		/usr/include
+# define XF86SetupUsesStaticTcl	NO
+# define SharedLibXv		YES
+# define SharedLibXinerama	YES
 # define ServerExtraDefines GccGasOption XFree86ServerDefines -I/sys
 # define ServerOSDefines XFree86ServerOSDefines -DDDXTIME
-# define XFree86ConsoleDefines /**/
-# define AsmDefines -DUSE_GAS
+# define XFree86ConsoleDefines	-DBSDI_VT
 # if OSMajorVersion > 3 || (OSMajorVersion == 3 && OSMinorVersion >= 1)
 #  include <bsdiLib.rules>
 #  define DontUseLibPathVar
@@ -159,6 +214,18 @@
 #  define ServerCcCmd         cc
 #  define ServerExtraSysLibs  DlLibrary
 # endif
+# define XConfigDir /etc/X11
+#endif
+
+#ifdef PpcArchitecture
+# define BuildServer		NO
+# define BuildFonts		NO
+# define XConfigDir /etc/X11
+# include <bsdiLib.rules>
+# define DontUseLibPathVar
+# define BuildDynamicLoading	YES
+# define ServerCcCmd		cc
+# define ServerExtraSysLibs	DlLibrary
 #endif
 
 #ifdef SparcArchitecture
@@ -166,10 +233,6 @@
 # define ServerOSDefines   -DDDXOSINIT
 #endif
 
-#ifdef PpcArchitecture
-# define BuildServer		NO
-#endif
-
 #define HasShm			YES
 #define AsmDefines -DUSE_GAS
 

Index: cygwin.cf
===================================================================
RCS file: /cvs/xorg/xc/config/cf/cygwin.cf,v
retrieving revision 1.1.4.1
retrieving revision 1.1.4.2
diff -u -d -r1.1.4.1 -r1.1.4.2
--- a/cygwin.cf	26 Nov 2003 22:48:15 -0000	1.1.4.1
+++ b/cygwin.cf	23 Feb 2004 21:31:43 -0000	1.1.4.2
@@ -1,4 +1,4 @@
-XCOMM platform:  $XFree86: xc/config/cf/cygwin.cf,v 3.56 2003/10/27 22:34:02 herrb Exp $
+XCOMM platform:  $XFree86: xc/config/cf/cygwin.cf,v 3.57 2003/12/24 18:58:41 dickey Exp $
 
 #ifndef OSName
 # define OSName                 Cygwin
@@ -58,6 +58,9 @@
 
 #define HasSnprintf		YES
 
+#ifndef HasMakefileSafeInclude
+# define HasMakefileSafeInclude YES
+#endif
 /*
  * Cygwin has Tcl/Tk, but you need to keep the version numbers
  * of the libs in sync.  These version numbers may change
@@ -319,6 +322,9 @@
 
 #define BuildScreenSaverExt	NO
 
+#define BuildWindowsWMLibrary  YES
+
+
 /*
  * What is Plugin?
  */

Index: cygwin.rules
===================================================================
RCS file: /cvs/xorg/xc/config/cf/cygwin.rules,v
retrieving revision 1.1.4.1
retrieving revision 1.1.4.2
diff -u -d -r1.1.4.1 -r1.1.4.2
--- a/cygwin.rules	26 Nov 2003 22:48:15 -0000	1.1.4.1
+++ b/cygwin.rules	23 Feb 2004 21:31:43 -0000	1.1.4.2
@@ -1,4 +1,4 @@
-XCOMM $XFree86: xc/config/cf/cygwin.rules,v 3.27 2003/10/26 18:17:37 herrb Exp $
+XCOMM $XFree86: xc/config/cf/cygwin.rules,v 3.28 2003/12/24 18:58:41 dickey Exp $
 
 /*
  * Cygwin shared library rules (DLL versions)
@@ -25,6 +25,7 @@
 #define SharedLibDps		YES
 #define SharedLibDpsTk		YES
 #define SharedLibGlu		YES
+#define SharedLibWindowsWM	NO
 #ifndef SharedDataSeparation
 #define SharedDataSeparation	NO
 #endif
@@ -180,11 +181,11 @@
 
 /*
  * MakeDllProg
- */
-
-#define MakeDLLProg(libname,solist,prog,rev)				@@\
-	prog -shared -Wl,--out-implib=ImportLibraryName(libname,rev) -Wl,--enable-auto-import --def libname.def -Wl,--exclude-libs,ALL -o SharedLibraryName(libname,rev) solist $(REQUIREDLIBS)
-
+ */ 
+    
+#define MakeDLLProg(libname,solist,prog,rev)			        @@\
+	prog -shared -Wl,--out-implib=ImportLibraryName(libname,rev) -Wl,--enable-auto-import,--enable-runtime-pseudo-reloc --def libname.def -Wl,--exclude-libs,ALL -o SharedLibraryName(libname,rev) solist $(REQUIREDLIBS)
+    
 /*
  * MakeDll
  */

Index: cygwin.tmpl
===================================================================
RCS file: /cvs/xorg/xc/config/cf/cygwin.tmpl,v
retrieving revision 1.1.4.2
retrieving revision 1.1.4.3
diff -u -d -r1.1.4.2 -r1.1.4.3
--- a/cygwin.tmpl	2 Dec 2003 02:30:15 -0000	1.1.4.2
+++ b/cygwin.tmpl	23 Feb 2004 21:31:43 -0000	1.1.4.3
@@ -1,4 +1,4 @@
-XCOMM $XFree86: xc/config/cf/cygwin.tmpl,v 3.18 2003/10/19 08:27:05 herrb Exp $
+XCOMM $XFree86: xc/config/cf/cygwin.tmpl,v 3.19 2003/12/24 18:58:41 dickey Exp $
 
 #if UseCygIPC
 # define SharedX11Reqs		-lcygipc

Index: darwin.cf
===================================================================
RCS file: /cvs/xorg/xc/config/cf/darwin.cf,v
retrieving revision 1.1.4.2
retrieving revision 1.1.4.3
diff -u -d -r1.1.4.2 -r1.1.4.3
--- a/darwin.cf	29 Dec 2003 13:36:53 -0000	1.1.4.2
+++ b/darwin.cf	23 Feb 2004 21:31:43 -0000	1.1.4.3
@@ -1,4 +1,4 @@
-XCOMM platform:  $XFree86: xc/config/cf/darwin.cf,v 1.46 2003/11/18 19:00:14 torrey Exp $
+XCOMM platform:  $XFree86: xc/config/cf/darwin.cf,v 1.51 2004/02/11 00:30:27 torrey Exp $
 
 /* Darwin / Mac OS X configuration by John Carmack <johnc at idsoftware.com> */
 
@@ -25,21 +25,23 @@
  * Define the operating system's capabilities
  */
 #define HasSnprintf             YES
-#define HasStrlcat		YES
 #define HasPutenv               YES
 #define HasBSD44Sockets         YES
 #define Malloc0ReturnsNull      NO
 #define HasShadowPasswd         NO
 #define HasUsableFileMmap       YES
 #define HasZlib                 YES
-#define HasArc4Random		YES
 #ifndef HasShm
 # define HasShm                 YES
 #endif
 #define HasNdbm                 YES
 #if OSMajorVersion >= 6
 # define HasNCurses             YES
+# define HasArc4Random          YES
+# define HasGetIfAddrs          YES
+# define HasStrlcat             YES
 #else
+# define HasBasename            NO
 # define HasNCurses             NO
 #endif
 #ifndef HasGroff
@@ -49,6 +51,11 @@
 # define HasGcc3                NO
 #endif
 
+/* Older versions don't really support IPv6, but #define AF_INET6. */
+#if OSMajorVersion < 6
+# define BuildIPv6              NO
+#endif
+
 /* Thread support */
 #define HasPosixThreads         YES
 #define SystemMTDefines         -D_REENTRANT
@@ -153,7 +160,7 @@
  */
 #if OSMajorVersion >= 7
 # define CppCmd                 /usr/bin/cpp3
-# define StandardCppOptions	-traditional
+# define StandardCppOptions     -traditional -D__GNUC__
 #else
 # define CppCmd                 /usr/bin/cpp
 #endif
@@ -210,17 +217,22 @@
 # define ByteOrder              X_LITTLE_ENDIAN
 #endif /* i386DarwinArchitecture */
 
+#if OSMajorVersion < 7
+# define DarwinLocaleDefines    -DX_LOCALE
+#else
+# define DarwinLocaleDefines    /**/
+# define XawI18nDefines         -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H
+#endif
+
 /*
  * __DARWIN__ will be used for platform specific #ifdefs that can't
  * be handled by existing X defines.
  *
  * Darwin's alloca() seg faults (rather than returning NULL) on failed
  * allocations, so we can't use it.
- *
- * Darwin's setlocale() doesn't work properly, so use X11's instead.
  */
 #define StandardDefines         DarwinMachineDefines -D__DARWIN__ \
-                                -DNO_ALLOCA -DX_LOCALE -DCSRG_BASED
+                                -DNO_ALLOCA -DCSRG_BASED DarwinLocaleDefines
 
 /*
  * Set this to NO to just build the client libs, which should work without
@@ -238,6 +250,9 @@
 # define InstallXserverSetUID   NO
 #endif
 
+/* disable XKB by default as it can cause problems */
+#define DfltDisableXKB          YES
+
 /* no direct graphics extension */
 #define BuildXF86DGA            NO
 

Index: gnu.cf
===================================================================
RCS file: /cvs/xorg/xc/config/cf/gnu.cf,v
retrieving revision 1.1.4.1
retrieving revision 1.1.4.2
diff -u -d -r1.1.4.1 -r1.1.4.2
--- a/gnu.cf	6 Dec 2003 13:22:41 -0000	1.1.4.1
+++ b/gnu.cf	23 Feb 2004 21:31:43 -0000	1.1.4.2
@@ -1,5 +1,5 @@
+XCOMM platform:  $XFree86: xc/config/cf/gnu.cf,v 1.13 2004/01/09 00:35:00 dawes Exp $
 XCOMM $XdotOrg$
-XCOMM platform:  $XFree86: xc/config/cf/gnu.cf,v 1.12 2003/11/24 02:02:26 dawes Exp $
 
 #ifndef OSName
 #define OSName			DefaultOSName
@@ -128,7 +128,7 @@
 XCOMM i386Architecture
 #define OptimizedCDebugFlags	DefaultGcc2i386Opt
 #define GNUMachineDefines	-D__i386__
-#define ServerOSDefines		XFree86ServerOSDefines -DDDXTIME -DPART_NET
+#define ServerOSDefines		XFree86ServerOSDefines -DDDXTIME
 #define ServerExtraDefines	-DGCCUSESGAS XFree86ServerDefines
 #define HasPlugin		YES
 #define VendorHasX11R6_3libXext	YES

Index: gnuLib.rules
===================================================================
RCS file: /cvs/xorg/xc/config/cf/gnuLib.rules,v
retrieving revision 1.1.4.1
retrieving revision 1.1.4.2
diff -u -d -r1.1.4.1 -r1.1.4.2
--- a/gnuLib.rules	26 Nov 2003 22:48:15 -0000	1.1.4.1
+++ b/gnuLib.rules	23 Feb 2004 21:31:43 -0000	1.1.4.2
@@ -1,7 +1,7 @@
 /*
  * GNU/Hurd shared library rules
  *
- * $XFree86: xc/config/cf/gnuLib.rules,v 1.9 2003/10/11 09:40:13 herrb Exp $
+ * $XFree86: xc/config/cf/gnuLib.rules,v 1.10 2004/01/27 01:37:39 dawes Exp $
  */
 
 /*
@@ -17,6 +17,11 @@
 #define ForceNormalLib NO
 #endif
 
+XCOMM XXX To rpath or not to rpath...
+#ifndef UseRpath
+#define UseRpath NO
+#endif
+
 #ifndef SharedOldX
 #define SharedOldX NO
 #endif
@@ -38,10 +43,18 @@
 #ifndef ShLibIncludeFile
 #define ShLibIncludeFile <gnuLib.tmpl>
 #endif
+#ifndef RpathLoadFlags
+#if UseRpath
+#define RpathLoadFlags -Wl,-rpath=$(USRLIBDIRPATH)
+#else
+#define RpathLoadFlags /**/
+#endif
+#endif
+#ifndef LibraryRpathLoadFlags
+#define LibraryRpathLoadFlags RpathLoadFlags
+#endif
 #ifndef SharedLibraryLoadFlags
-XCOMM XXX To rpath or not to rpath...
-XCOMM #define SharedLibraryLoadFlags -shared -Wl,-rpath=$(USRLIBDIR)
-#define SharedLibraryLoadFlags -shared
+#define SharedLibraryLoadFlags -shared LibraryRpathLoadFlags
 #endif
 #ifndef PositionIndependentCFlags
 #define PositionIndependentCFlags -fPIC
@@ -52,9 +65,9 @@
 #ifndef ExtraLoadFlags
 #ifdef UseInstalled
 XCOMM XXX Maybe superfluous.
-#define ExtraLoadFlags -Wl,-rpath-link=$(USRLIBDIRPATH)
+#define ExtraLoadFlags RpathLoadFlags -Wl,-rpath-link=$(USRLIBDIRPATH)
 #else
-#define ExtraLoadFlags -Wl,-rpath-link=$(BUILDLIBDIR)
+#define ExtraLoadFlags RpathLoadFlags -Wl,-rpath-link=$(BUILDLIBDIR)
 #endif
 #endif
 

Index: kdrive.cf
===================================================================
RCS file: /cvs/xorg/xc/config/cf/kdrive.cf,v
retrieving revision 1.1
retrieving revision 1.1.4.1
diff -u -d -r1.1 -r1.1.4.1
--- a/kdrive.cf	14 Nov 2003 16:48:20 -0000	1.1
+++ b/kdrive.cf	23 Feb 2004 21:31:43 -0000	1.1.4.1
@@ -1,4 +1,4 @@
-XCOMM $XFree86: xc/config/cf/kdrive.cf,v 1.12 2001/06/23 17:00:03 keithp Exp $
+XCOMM $XFree86: xc/config/cf/kdrive.cf,v 1.14 2004/01/09 00:35:00 dawes Exp $
 /*
  * This configuration file contains all of the configuration
  * information for the XFree86 based X Servers.

Index: linux.cf
===================================================================
RCS file: /cvs/xorg/xc/config/cf/linux.cf,v
retrieving revision 1.1.4.4
retrieving revision 1.1.4.5
diff -u -d -r1.1.4.4 -r1.1.4.5
--- a/linux.cf	20 Dec 2003 00:28:21 -0000	1.1.4.4
+++ b/linux.cf	23 Feb 2004 21:31:43 -0000	1.1.4.5
@@ -5,7 +5,7 @@
 
 
 
-XCOMM platform:  $XFree86: xc/config/cf/linux.cf,v 3.219 2003/12/19 01:47:26 dawes Exp $
+XCOMM platform:  $XFree86: xc/config/cf/linux.cf,v 3.221 2004/01/09 00:35:00 dawes Exp $
 
 #ifndef LinuxElfDefault
 # define LinuxElfDefault	YES
@@ -264,15 +264,29 @@
 # endif
 #endif
 
+/* <linux/joystick.h> appeared in 2.1.45 (officially) */
+#ifndef JoystickSupport
+# define JoystickSupport	NO	/* joystick driver is broken */
+#endif
+#ifndef HasLinuxSupport
+# if JoystickSupport || \
+     (OSMajorVersion > 2) || \
+     ((OSMajorVersion == 2) && (OSMinorVersion > 1)) || \
+     ((OSMajorVersion == 2) && (OSMinorVersion == 1) && (OSTeenyVersion >= 45))
+#  define HasLinuxJoystick	YES
+# else
+#  define HasLinuxJoystick	NO
+# endif
+#endif
+
 /* Libtool on linux always uses minor numbers */
 #define LibtoolMinorVersions	YES
 
 /* On x86, determine whether to build with MTRR support */
 #ifndef HasMTRRSupport
 # if defined (i386Architecture) || defined (AMD64Architecture)
-/* There is no certain way to know if <asm/mtrr.h> is available,
-   but it made it into kernel 2.2, so... */
-#  if OSMajorVersion > 2 || (OSMajorVersion == 2 && OSMinorVersion >= 2)
+#  if OSMajorVersion > 2 || (OSMajorVersion == 2 && OSMinorVersion > 1) || \
+      (OSMajorVersion == 2 && OSMinorVersion == 1 && OSTeenyVersion >= 99)
 #   define HasMTRRSupport	YES
 #  else
 #   define HasMTRRSupport	NO
@@ -729,11 +743,17 @@
 #endif
 
 #ifndef OSXInputDrivers
+# if HasLinuxJoystick
+#  define OSXInputDrivers1	ur98
+# else
+#  define OSXInputDrivers1	/**/
+# endif
 # if HasLinuxInput
-#  define OSXInputDrivers	ur98 aiptek
+#  define OSXInputDrivers2	aiptek
 # else
-#  define OSXInputDrivers	ur98
+#  define OSXInputDrivers2	/**/
 # endif
+# define OSXInputDrivers	OSXInputDrivers1 OSXInputDrivers2
 #endif
 
 #if UseElfFormat
@@ -746,7 +766,7 @@
 #  define OptimizedCDebugFlags	DefaultGcc2AxpOpt
 # endif
 # define LinuxMachineDefines	-D__alpha__
-# define ServerOSDefines	XFree86ServerOSDefines -DDDXTIME -DPART_NET
+# define ServerOSDefines	XFree86ServerOSDefines -DDDXTIME
 # define ServerExtraDefines	-DGCCUSESGAS XFree86ServerDefines -D_XSERVER64 -DJENSEN_SUPPORT
 # ifdef UseCompaqMathLibrary
 #  define MathLibrary		-lcpml -lm
@@ -759,14 +779,14 @@
 #  define OptimizedCDebugFlags	-O3
 # endif
 # define LinuxMachineDefines	-D__arm__ -D__arm32__ -U__arm -Uarm
-# define ServerOSDefines	XFree86ServerOSDefines -DDDXTIME -DPART_NET
+# define ServerOSDefines	XFree86ServerOSDefines -DDDXTIME
 # define ServerExtraDefines	-DGCCUSESGAS XFree86ServerDefines
 #endif /* Arm32Achitecture */
 
 #ifdef HPArchitecture
 # define OptimizedCDebugFlags	-O2  GccAliasingArgs
 # define LinuxMachineDefines	-D__hppa__
-# define ServerOSDefines	XFree86ServerOSDefines -DDDXTIME -DPART_NET
+# define ServerOSDefines	XFree86ServerOSDefines -DDDXTIME
 # define ServerExtraDefines	-DGCCUSESGAS XFree86ServerDefines
 #endif
 
@@ -775,7 +795,7 @@
 #  define OptimizedCDebugFlags	DefaultGcc2i386Opt
 # endif
 # define LinuxMachineDefines	-D__i386__
-# define ServerOSDefines	XFree86ServerOSDefines -DDDXTIME -DPART_NET
+# define ServerOSDefines	XFree86ServerOSDefines -DDDXTIME
 # define ServerExtraDefines	-DGCCUSESGAS XFree86ServerDefines
 #endif /* i386Architecture */
 
@@ -784,7 +804,7 @@
 #  define OptimizedCDebugFlags	-O2  GccAliasingArgs
 # endif
 # define LinuxMachineDefines	-D__ia64__
-# define ServerOSDefines	XFree86ServerOSDefines -DDDXTIME -DPART_NET
+# define ServerOSDefines	XFree86ServerOSDefines -DDDXTIME
 # define ServerExtraDefines	-DGCCUSESGAS XFree86ServerDefines -D_XSERVER64
 #endif /* ia64Architecture */
 
@@ -793,7 +813,7 @@
 #  define OptimizedCDebugFlags	-O2  GccAliasingArgs
 # endif
 # define LinuxMachineDefines	-D__mc68000__
-# define ServerOSDefines	XFree86ServerOSDefines -DDDXTIME -DPART_NET
+# define ServerOSDefines	XFree86ServerOSDefines -DDDXTIME
 # define ServerExtraDefines	-DGCCUSESGAS XFree86ServerDefines
 #endif /* Mc68020Architecture */
 
@@ -802,7 +822,7 @@
 #  define OptimizedCDebugFlags	-O2  GccAliasingArgs
 # endif
 # define LinuxMachineDefines	-D__mips__
-# define ServerOSDefines	XFree86ServerOSDefines -DDDXTIME -DPART_NET
+# define ServerOSDefines	XFree86ServerOSDefines -DDDXTIME
 # define ServerExtraDefines	-DGCCUSESGAS XFree86ServerDefines
 #endif
 
@@ -812,7 +832,7 @@
 #  define OptimizedCDebugFlags	DefaultGcc2PpcOpt
 # endif
 # define LinuxMachineDefines	-D__powerpc__
-# define ServerOSDefines	XFree86ServerOSDefines -DDDXTIME -DPART_NET
+# define ServerOSDefines	XFree86ServerOSDefines -DDDXTIME
 # define ServerExtraDefines	-DGCCUSESGAS XFree86ServerDefines
 #endif /* PpcArchitecture */
 
@@ -821,7 +841,7 @@
 #  define OptimizedCDebugFlags	-O2 -fomit-frame-pointer GccAliasingArgs
 # endif
 # define LinuxMachineDefines	-D__s390__
-# define ServerOSDefines	XFree86ServerOSDefines -DDDXTIME -DPART_NET
+# define ServerOSDefines	XFree86ServerOSDefines -DDDXTIME
 # define ServerExtraDefines	-DGCCUSESGAS XFree86ServerDefines
 #endif /* s390Architecture */
 
@@ -829,7 +849,7 @@
 /*#define DefaultCCOptions	-fsigned-char */
 #define OptimizedCDebugFlags	-O3 -fomit-frame-pointer
 #define LinuxMachineDefines	-D__s390x__
-#define ServerOSDefines		XFree86ServerOSDefines -DDDXTIME -DPART_NET
+#define ServerOSDefines		XFree86ServerOSDefines -DDDXTIME
 #define ServerExtraDefines	-DGCCUSESGAS XFree86ServerDefines -D_XSERVER64
 #endif /* s390xArchitecture */
 
@@ -838,7 +858,7 @@
 #  define OptimizedCDebugFlags	-O2  GccAliasingArgs
 # endif
 # define LinuxMachineDefines	-D__sparc__
-# define ServerOSDefines	XFree86ServerOSDefines -DDDXTIME -DPART_NET
+# define ServerOSDefines	XFree86ServerOSDefines -DDDXTIME
 # define ServerExtraDefines	-DGCCUSESGAS XFree86ServerDefines
 # define AsVISOption		-Av9a
 # ifdef Sparc64Architecture
@@ -869,7 +889,7 @@
 #  define OptimizedCDebugFlags	-O2 SuperHArchOptFlags SuperHEndianFlags  GccAliasingArgs
 # endif
 # define LinuxMachineDefines	-D__sh__
-# define ServerOSDefines	XFree86ServerOSDefines -DDDXTIME -DPART_NET
+# define ServerOSDefines	XFree86ServerOSDefines -DDDXTIME
 # define ServerExtraDefines	-DGCCUSESGAS XFree86ServerDefines
 # ifndef DoLoadableServer
 #  define DoLoadableServer NO
@@ -881,7 +901,7 @@
 #  define OptimizedCDebugFlags	DefaultGcc2AMD64Opt
 # endif
 # define LinuxMachineDefines   -D__AMD64__
-# define ServerOSDefines	XFree86ServerOSDefines -DDDXTIME -DPART_NET
+# define ServerOSDefines	XFree86ServerOSDefines -DDDXTIME
 # define ServerExtraDefines	-DGCCUSESGAS XFree86ServerDefines -D_XSERVER64
 #endif /* AMD64Architecture */
 

Index: lnxLib.rules
===================================================================
RCS file: /cvs/xorg/xc/config/cf/lnxLib.rules,v
retrieving revision 1.1.4.2
retrieving revision 1.1.4.3
diff -u -d -r1.1.4.2 -r1.1.4.3
--- a/lnxLib.rules	26 Nov 2003 22:48:15 -0000	1.1.4.2
+++ b/lnxLib.rules	23 Feb 2004 21:31:43 -0000	1.1.4.3
@@ -1,5 +1,5 @@
 XCOMM $Xorg: lnxLib.rules,v 1.3 2000/08/17 19:41:47 cpqbld Exp $
-XCOMM $XFree86: xc/config/cf/lnxLib.rules,v 3.52 2003/10/31 20:49:03 herrb Exp $
+XCOMM $XFree86: xc/config/cf/lnxLib.rules,v 3.53 2004/01/27 01:37:39 dawes Exp $
 
 /*
  * Linux shared library rules (DLL & ELF versions)
@@ -11,6 +11,10 @@
 # define ForceNormalLib NO
 #endif
 
+#ifndef UseRpath
+#define UseRpath NO
+#endif
+
 #ifndef SharedOldX
 # define SharedOldX NO
 #endif
@@ -63,6 +67,16 @@
 # ifndef ShLibIncludeFile
 #  define ShLibIncludeFile <lnxLib.tmpl>
 # endif
+#ifndef RpathLoadFlags
+#if UseRpath
+#define RpathLoadFlags -Wl,-rpath,$(USRLIBDIRPATH)
+#else
+#define RpathLoadFlags /**/
+#endif
+#endif
+#ifndef LibraryRpathLoadFlags
+#define LibraryRpathLoadFlags RpathLoadFlags
+#endif
 # ifndef SharedLibraryLoadFlags
 #  define SharedLibraryLoadFlags -shared
 # endif
@@ -76,17 +90,17 @@
 #  if LinuxBinUtilsMajorVersion >= 26
 #   ifdef UseInstalled
 #    if LinuxBinUtilsMajorVersion < 27
-#     define ExtraLoadFlags -Wl,-rpath-link,$(USRLIBDIRPATH)
+#     define ExtraLoadFlags RpathLoadFlags -Wl,-rpath-link,$(USRLIBDIRPATH)
 #    endif
 #   else
-#    define ExtraLoadFlags -Wl,-rpath-link,$(BUILDLIBDIR)
+#    define ExtraLoadFlags RpathLoadFlags -Wl,-rpath-link,$(BUILDLIBDIR)
 #   endif
 #  else
-#   define ExtraLoadFlags -Wl,-rpath,$(USRLIBDIRPATH)
+#   define ExtraLoadFlags RpathLoadFlags
 #  endif
 # endif
 # ifndef HardCodeLibdirFlag
-#  define HardCodeLibdirFlag -Wl,-rpath,$(USRLIBDIRPATH)
+#  define HardCodeLibdirFlag RpathLoadFlags
 # endif
 # if !defined(ShlibGlobalsFlags)
 #  define ShlibGlobalsFlags -Wl,-Bsymbolic

Index: lynx.cf
===================================================================
RCS file: /cvs/xorg/xc/config/cf/lynx.cf,v
retrieving revision 1.1.4.2
retrieving revision 1.1.4.3
diff -u -d -r1.1.4.2 -r1.1.4.3
--- a/lynx.cf	26 Nov 2003 22:48:15 -0000	1.1.4.2
+++ b/lynx.cf	23 Feb 2004 21:31:43 -0000	1.1.4.3
@@ -3,7 +3,7 @@
 
 
 
-XCOMM platform:  $XFree86: xc/config/cf/lynx.cf,v 3.47 2003/04/24 22:14:53 herrb Exp $
+XCOMM platform:  $XFree86: xc/config/cf/lynx.cf,v 3.48 2004/01/09 00:35:00 dawes Exp $
 
 
 #ifndef OSName
@@ -200,7 +200,7 @@
 #define StandardCppOptions	-traditional
 #define StandardCppDefines	StandardDefines
 #if defined(i386Architecture) || defined(PpcArchitecture)
-# define ServerOSDefines	XFree86ServerOSDefines -DDDXTIME -DPART_NET
+# define ServerOSDefines	XFree86ServerOSDefines -DDDXTIME
 # define ServerExtraDefines	-DGCCUSESGAS XFree86ServerDefines
 # if OSMajorVersion == 2 && OSMinorVersion < 5
 #  define XkbServerDefines      -DNEED_POPEN_WORKAROUND

Index: sco5.cf
===================================================================
RCS file: /cvs/xorg/xc/config/cf/sco5.cf,v
retrieving revision 1.1.4.2
retrieving revision 1.1.4.3
diff -u -d -r1.1.4.2 -r1.1.4.3
--- a/sco5.cf	20 Dec 2003 00:28:21 -0000	1.1.4.2
+++ b/sco5.cf	23 Feb 2004 21:31:43 -0000	1.1.4.3
@@ -1,5 +1,5 @@
+XCOMM $XFree86: xc/config/cf/sco5.cf,v 3.16 2004/01/07 04:30:27 dawes Exp $
 XCOMM $XdotOrg$
-XCOMM $XFree86: xc/config/cf/sco5.cf,v 3.15 2003/12/19 02:05:37 dawes Exp $
 
 /*
  * This is for SCO Open Server 5.0.6A or later. You must have the
@@ -54,6 +54,18 @@
 #endif
 #endif
 
+/*
+ * Although OpenServer does not currently have threads, there are plans
+ * for it in the near future, and libc/libsocket are already thread
+ * safe, so use -D_REENTRANT when compiling libraries so that if an
+ * app that has either the new forthcoming threads, or one that uses
+ * GNU PTH or FSU pthreads is linked against X, that the libraries are
+ * safe at least with regards to things like errno and various _r functions.
+ */
+#ifndef LibraryCCOptions
+# define LibraryCCOptions	-D_REENTRANT
+#endif
+	
 #define StandardDefines		-Dsco -DSCO -DSCO5 -DSYSV -Di386 -DSCO325 -DFD_SETSIZE=256 -D_NO_STATIC -DMAXPATHLEN=1024
 #ifdef HasGcc2
 # define DefaultCCOptions       GccWarningOptions
@@ -158,7 +170,18 @@
 #define CppCmd			/lib/cpp
 #define PreProcessCmd		CppCmd
 #define RawCppCmd		CppCmd
-#define LdCmd                   ld
+
+#ifdef HasGcc2
+# define LdCmd                   CcCmd
+# ifndef SharedLibraryLoadFlags
+#  define SharedLibraryLoadFlags -shared
+# endif
+# undef LdCombineFlags
+# define LdCombineFlags		-nostdlib -r
+#else
+# define LdCmd			/usr/ccs/bin/elf/ld
+#endif
+
 #define LexCmd                  /usr/gnu/bin/flex
 #define MakeCmd	                /usr/gnu/bin/gmake
 #define YaccCmd                 /usr/gnu/bin/bison -y
@@ -178,7 +201,62 @@
 
 #define ConnectionFlags         -DLOCALCONN -DTCPCONN -DUNIXCONN 
 
-#define SharedGLUReqs           $(LDPRELIB) $(XLIB) $(GLXLIB)
+/*
+ * These settings control the interdependence of the shared libraries.
+ * Mostly borrowed from darwinLib.tmpl.
+ */
+#ifndef FixupLibReferences
+#define FixupLibReferences()						@@\
+XMULIBONLY = -lXmu							@@\
+XMULIB = $(XMULIBONLY) $(XTOOLLIB) $(XLIB)
+#endif
+
+#ifndef XawClientLibs
+#define XawClientLibs $(XAWLIB) $(XMULIBONLY) $(XTOOLLIB) $(XPMLIB) $(XLIB)
+#endif
+
+#define SharedXlibi18nReqs $(LDPRELIB) $(XLIBONLY)
+
+#define SharedXfontReqs     $(LDPRELIB) $(FONTSTUBLIB) GzipLibrary $(FREETYPE2LIB) $(XLIB)
+#define SharedFontencReqs   $(LDPRELIB) GzipLibrary
+#define SharedGLReqs        $(LDPRELIB) $(XLIB)
+#define SharedGLUReqs       $(LDPRELIB) $(XLIB) $(GLXLIB)
+#define SharedOSMesaReqs    $(LDPRELIB) $(XLIB) $(GLXLIB)
+#define SharedPexReqs       $(LDPRELIB) $(XONLYLIB) MathLibrary
+#define SharedSMReqs        $(LDPRELIB) $(ICELIB)
+#define SharedX11Reqs       $(LDPRELIB) -lsocket
+#define SharedXawReqs       $(LDPRELIB) $(XMULIB) $(XTOOLLIB) $(XPMLIB) $(XLIB)
+#define SharedXaw6Reqs      $(LDPRELIB) $(XMULIB) $(XTOOLLIB) $(XLIB)
+#define SharedXcursorReqs   $(LDPRELIB) $(XRENDERLIB) $(XLIB)
+#define SharedXextReqs      $(LDPRELIB) $(XONLYLIB)
+#define SharedXiReqs        $(LDPRELIB) $(XLIB)
+#define SharedXieReqs       $(LDPRELIB) $(XONLYLIB)
+#define SharedXmuReqs       $(LDPRELIB) $(XTOOLLIB) $(XLIB)
+#define SharedXmuuReqs      $(LDPRELIB) $(XONLYLIB)
+#define SharedXpReqs        $(LDPRELIB) $(XLIB)
+#define SharedXpmReqs       $(LDPRELIB) $(XLIB)
+#define SharedXrandrReqs    $(LDPRELIB) $(XRENDERLIB) $(XLIB)
+#define SharedXrenderReqs   $(LDPRELIB) $(XLIB)
+#define SharedXtReqs        $(LDPRELIB) $(XONLYLIB) $(SMLIB) $(ICELIB)
+#define SharedXtstReqs      $(LDPRELIB) $(XLIB)
+#define SharedXvReqs        $(LDPRELIB) $(XLIB)
+#define SharedDPSReqs       $(LDPRELIB) $(SMLIB) $(ICELIB) $(XTOOLLIB) $(XLIB)
+#define SharedDPSTKReqs     $(LDPRELIB) $(SMLIB) $(ICELIB) $(XTOOLLIB) $(DPSLIB) $(XLIB)
+#define SharedOldXReqs      $(LDPRELIB) $(XONLYLIB)
+#define SharedpsresReqs     $(LDPRELIB) $(SMLIB) $(ICELIB) $(XTOOLLIB) $(XLIB)
+#define SharedXResReqs	    $(LDPRELIB) $(XLIB)
+#define SharedXfontcacheReqs $(LDPRELIB) $(XLIB)
+#define SharedXineramaReqs  $(LDPRELIB) $(XLIB)
+#define SharedXssReqs	    $(LDPRELIB) $(XLIB)
+#define SharedXvMCReqs	    $(LDPRELIB) $(XLIB)
+#define SharedXxf86miscReqs $(LDPRELIB) $(XLIB)
+#define SharedXxf86vmReqs   $(LDPRELIB) $(XLIB)
+#define SharedxkbfileReqs   $(LDPRELIB) $(XONLYLIB)
+#define SharedxkbuiReqs	    $(LDPRELIB) $(XKBFILELIB) $(XONLYLIB)
+#define SharedXReqs         $(XTOOLLIB) $(XPLIB) $(XLIB)
+#define SharedXmReqs        $(LDPRELIB) SharedXReqs
+#define SharedMrmReqs       $(LDPRELIB) $(XMLIB) SharedXReqs
+#define SharedUilReqs       $(LDPRELIB) $(XMLIB) SharedXReqs
 
 #define ObjectFromAsmSource(src,flags)					@@\
 									@@\

Index: scoLib.rules
===================================================================
RCS file: /cvs/xorg/xc/config/cf/scoLib.rules,v
retrieving revision 1.1.4.2
retrieving revision 1.1.4.3
diff -u -d -r1.1.4.2 -r1.1.4.3
--- a/scoLib.rules	20 Dec 2003 00:28:21 -0000	1.1.4.2
+++ b/scoLib.rules	23 Feb 2004 21:31:43 -0000	1.1.4.3
@@ -1,6 +1,6 @@
 XCOMM $XdotOrg$
 XCOMM $Xorg: scoLib.rules,v 1.3 2000/08/17 19:41:48 cpqbld Exp $
-XCOMM $XFree86: xc/config/cf/scoLib.rules,v 1.10 2003/12/18 16:38:34 dawes Exp $
+XCOMM $XFree86: xc/config/cf/scoLib.rules,v 1.11 2004/01/07 04:30:28 dawes Exp $
 
 #ifndef UseExportLists
 # define UseExportLists NO
@@ -10,6 +10,16 @@
 #define ExtraLoadFlags -R $(USRLIBDIRPATH)
 #endif
 
+#ifndef SCOAbsShlibPath
+# define SCOAbsShlibPath NO
+#endif
+
+#if SCOAbsShlibPath
+# define SCOShlibFlags -h $(SHLIBDIR)/$@
+#else
+# define SCOShlibFlags -R $(DESTDIR)$(SHLIBDIR) -h $@
+#endif
+
 /*
  * SharedLibraryTarget3 - generate rules to create a shared library;
  * build it into a different name so that we do not hose people by having
@@ -23,9 +33,10 @@
 									@@\
 Concat(lib,libname.so.rev): solist1 solist2 solist3 $(EXTRALIBRARYDEPS)	@@\
 	$(RM) $@~							@@\
-	echo -n $(LD) -o up/$@~ $(SHLIBLDFLAGS) -R $(DESTDIR)$(SHLIBDIR) -h $@ solist1 " " > Concat(down/lib,cmd) 	@@\
+	echo -n $(LD) -o up/$@~ $(SHLIBLDFLAGS) SCOShlibFlags solist1 " " > Concat(down/lib,cmd) 	@@\
 	echo -n solist2 " " >> Concat(down/lib,cmd)			@@\
-	echo -n solist3  >> Concat(down/lib,cmd)			@@\
+	echo -n solist3 " " >> Concat(down/lib,cmd)			@@\
+	echo -n $(REQUIREDLIBS) >> Concat(down/lib,cmd)			@@\
 	(cd down; $(SHELL) Concat(./lib,cmd))				@@\
 	$(RM) $@ Concat(lib,tmp1) Concat(lib,tmp2)			@@\
 	$(MV) $@~ $@							@@\
@@ -43,16 +54,16 @@
 #ifndef LinkWithExports
 # if UseExportLists
 #  define LinkWithExports(libname,rev,solist,down,up) \
-	(cd down; $(CCENVSETUP) $(LD) -o up/$@~ $(SHLIBLDFLAGS) -R $(DESTDIR)$(SHLIBDIR) -h $@ solist $(REQUIREDLIBS))	@@\
+	(cd down; $(CCENVSETUP) $(LD) -o up/$@~ $(SHLIBLDFLAGS) SCOShlibFlags solist $(REQUIREDLIBS))	@@\
 	if [ -f Concat(lib,libname.elist) ]; then \			@@\
 	    $(RM) down/$@.exports $@.list; \				@@\
 	    $(CPP) $(ALLINCLUDES) $(EXTRA_DEFINES) $(PROTO_DEFINES) $(THREADS_DEFINES) $(DEFINES) Concat(lib,libname.elist) | CppSedMagic >$@.list; \	@@\
 	    $(EXPORTLISTGEN) $@~ $@.list > down/$@.exports; \		@@\
-	    (cd down; $(CCENVSETUP) $(LD) -o up/$@~ $(SHLIBLDFLAGS) -h $@ ShlibExportListOpt($@.exports) solist $(REQUIREDLIBS)); \	@@\
+	    (cd down; $(CCENVSETUP) $(LD) -o up/$@~ $(SHLIBLDFLAGS) SCOShlibFlags ShlibExportListOpt($@.exports) solist $(REQUIREDLIBS)); \	@@\
 	    $(RM) down/$@.exports $@.list; \				@@\
 	fi;
 # else
 #  define LinkWithExports(libname,rev,solist,down,up) \
-	(cd down; $(CCENVSETUP) $(LD) -o up/$@~ $(SHLIBLDFLAGS) -R $(DESTDIR)$(SHLIBDIR) -h $@ solist $(REQUIREDLIBS))
+	(cd down; $(CCENVSETUP) $(LD) -o up/$@~ $(SHLIBLDFLAGS) SCOShlibFlags solist $(REQUIREDLIBS))
 # endif
 #endif

Index: sun.cf
===================================================================
RCS file: /cvs/xorg/xc/config/cf/sun.cf,v
retrieving revision 1.1.4.6
retrieving revision 1.1.4.7
diff -u -d -r1.1.4.6 -r1.1.4.7
--- a/sun.cf	16 Feb 2004 20:55:02 -0000	1.1.4.6
+++ b/sun.cf	23 Feb 2004 21:31:43 -0000	1.1.4.7
@@ -4,7 +4,7 @@
 
 
 
-XCOMM platform:  $XFree86: xc/config/cf/sun.cf,v 3.69 2003/10/26 12:17:14 herrb Exp $
+XCOMM platform:  $XFree86: xc/config/cf/sun.cf,v 3.71 2004/02/02 03:55:26 dawes Exp $
 
 #ifndef OSName
 # define OSName		DefaultOSName
@@ -241,7 +241,12 @@
 #  define InstallCmd	    /usr/ucb/install
 # endif
 # ifdef i386Architecture
-#  define StandardDefines	  -Dsun -Di386 -DSVR4 -D__EXTENSIONS__ -D__i386
+#  if (OSMajorVersion < 4) || ((OSMajorVersion == 5) && (OSMinorVersion <= 5))
+#   define StandardDefines	-Dsun -Di386 -DSVR4 -D__EXTENSIONS__ -D__i386 \
+				-D__SOL64__
+#  else
+#   define StandardDefines	-Dsun -Di386 -DSVR4 -D__EXTENSIONS__ -D__i386
+#  endif
 #  define ToolkitStringsABIOptions	-intelabi
 # else
 #  define StandardDefines	  -Dsun -Dsparc -DSVR4 -D__EXTENSIONS__
@@ -540,3 +545,8 @@
 #define	UseSeparateConfDir	NO
 #endif
 
+#ifndef BuildGLULibrary
+#if HasSunC
+#define BuildGLULibrary NO
+#endif
+#endif

Index: svr3.cf
===================================================================
RCS file: /cvs/xorg/xc/config/cf/svr3.cf,v
retrieving revision 1.1.4.1
retrieving revision 1.1.4.2
diff -u -d -r1.1.4.1 -r1.1.4.2
--- a/svr3.cf	17 Nov 2003 19:03:18 -0000	1.1.4.1
+++ b/svr3.cf	23 Feb 2004 21:31:43 -0000	1.1.4.2
@@ -2,7 +2,7 @@
 
 
 
-XCOMM $XFree86: xc/config/cf/svr3.cf,v 3.15 2002/08/19 03:16:31 tsi Exp $
+XCOMM $XFree86: xc/config/cf/svr3.cf,v 3.16 2004/01/09 00:35:00 dawes Exp $
 
 #ifndef HasGcc
 #define HasGcc      YES
@@ -135,7 +135,7 @@
 
 #ifndef ServerOSDefines
 # ifdef i386Architecture
-#  define ServerOSDefines -DDDXTIME XFree86ServerOSDefines -DPART_NET
+#  define ServerOSDefines -DDDXTIME XFree86ServerOSDefines
 # else
 #  define ServerOSDefines -DDDXTIME
 # endif

Index: svr4.cf
===================================================================
RCS file: /cvs/xorg/xc/config/cf/svr4.cf,v
retrieving revision 1.1.4.2
retrieving revision 1.1.4.3
diff -u -d -r1.1.4.2 -r1.1.4.3
--- a/svr4.cf	26 Nov 2003 22:48:15 -0000	1.1.4.2
+++ b/svr4.cf	23 Feb 2004 21:31:43 -0000	1.1.4.3
@@ -2,7 +2,7 @@
 
 
 
-XCOMM $XFree86: xc/config/cf/svr4.cf,v 3.50 2003/11/04 01:25:31 dawes Exp $
+XCOMM $XFree86: xc/config/cf/svr4.cf,v 3.51 2004/01/07 04:28:01 dawes Exp $
 /*
  * A default OS name
  */
@@ -45,7 +45,9 @@
 
 /* Some stuff that all SVR4s should have */
 
+#ifndef SystemV4
 #define SystemV4		YES
+#endif
 #ifndef HasLdRunPath
 #define HasLdRunPath		YES
 #endif

Index: xfree86.cf
===================================================================
RCS file: /cvs/xorg/xc/config/cf/xfree86.cf,v
retrieving revision 1.1.4.3
retrieving revision 1.1.4.4
diff -u -d -r1.1.4.3 -r1.1.4.4
--- a/xfree86.cf	14 Jan 2004 23:49:53 -0000	1.1.4.3
+++ b/xfree86.cf	23 Feb 2004 21:31:43 -0000	1.1.4.4
@@ -1,4 +1,4 @@
-XCOMM $XFree86: xc/config/cf/xfree86.cf,v 3.465 2003/11/07 23:57:43 dawes Exp $
+XCOMM $XFree86: xc/config/cf/xfree86.cf,v 3.467 2004/01/28 01:47:26 dawes Exp $
 /*
  * This configuration file contains all of the configuration
  * information for the XFree86 based X Servers.
@@ -74,8 +74,8 @@
 
 #ifndef ChangelogDateCmd
 # define ChangelogDateCmd if tail $(CHANGELOGFILE) | \			@@\
-	grep -F -q '$$XFree86:'; then \					@@\
-	  tail $(CHANGELOGFILE) | grep -F '$$XFree86:' | \		@@\
+	fgrep '$$XFree86:' >/dev/null 2>&1; then \			@@\
+	  tail $(CHANGELOGFILE) | fgrep '$$XFree86:' | \		@@\
 	  sed s,'.* \([0-9][0-9]*\)/\([0-9][0-9]*\)/\([0-9][0-9]*\).*,\1\2\3,'; \ @@\
 	else echo 0; fi
 #endif
@@ -1623,9 +1623,6 @@
 #ifndef BuildCyrillicFonts
 # define BuildCyrillicFonts	YES
 #endif
-#ifndef UseKoi8RForCyrillic
-# define UseKoi8RForCyrillic	YES
-#endif
 
 /*
  * Build scanpci?





More information about the xorg-commit mailing list