Fix the *-config.h includes so that it is possible to build modules without
authorKevin E Martin <kem@kem.org>
Sat, 16 Jul 2005 03:49:59 +0000 (03:49 +0000)
committerKevin E Martin <kem@kem.org>
Sat, 16 Jul 2005 03:49:59 +0000 (03:49 +0000)
    having to use -include in the Makefile.

19 files changed:
hw/xfree86/dixmods/GLcoremodule.c
hw/xfree86/dixmods/afbmodule.c
hw/xfree86/dixmods/dbemodule.c
hw/xfree86/dixmods/extmod/modinit.c
hw/xfree86/dixmods/extmod/xf86dga.c
hw/xfree86/dixmods/extmod/xf86dga2.c
hw/xfree86/dixmods/extmod/xf86misc.c
hw/xfree86/dixmods/extmod/xf86vmode.c
hw/xfree86/dixmods/extmod/xvmod.c
hw/xfree86/dixmods/fbmodule.c
hw/xfree86/dixmods/glxmodule.c
hw/xfree86/dixmods/laymodule.c
hw/xfree86/dixmods/mfbmodule.c
hw/xfree86/dixmods/recordmod.c
hw/xfree86/dixmods/shmodule.c
mi/miinitext.c
xkb/ddxKillSrv.c
xkb/ddxPrivate.c
xkb/ddxVT.c

index 666ce52..4e03b59 100644 (file)
@@ -32,8 +32,8 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  *
  */
 
-#ifdef HAVE_DIX_CONFIG_H
-#include <dix-config.h>
+#ifdef HAVE_XORG_CONFIG_H
+#include <xorg-config.h>
 #endif
 
 #include "xf86Module.h"
index 74dca9a..d9cdbf9 100644 (file)
 #include <xorg-config.h>
 #endif
 
-#ifdef HAVE_DIX_CONFIG_H
-#include <dix-config.h>
-#endif
-
 #ifdef XFree86LOADER
 
 #include "xf86Module.h"
index 218b28c..7daa838 100644 (file)
@@ -4,10 +4,6 @@
 #include <xorg-config.h>
 #endif
 
-#ifdef HAVE_DIX_CONFIG_H
-#include <dix-config.h>
-#endif
-
 #include "xf86Module.h"
 
 static MODULESETUPPROTO(dbeSetup);
index 88d3f6c..68caa4b 100644 (file)
@@ -23,8 +23,8 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-#ifdef HAVE_DIX_CONFIG_H
-#include <dix-config.h>
+#ifdef HAVE_XORG_CONFIG_H
+#include <xorg-config.h>
 #endif
 
 #ifdef XFree86LOADER
index 9c55d87..9979bfb 100644 (file)
@@ -7,12 +7,12 @@ Copyright (c) 1995, 1996, 1999  XFree86 Inc
 
 */
 
-#define NEED_REPLIES
-#define NEED_EVENTS
-#ifdef HAVE_DIX_CONFIG_H
-#include <dix-config.h>
+#ifdef HAVE_XORG_CONFIG_H
+#include <xorg-config.h>
 #endif
 
+#define NEED_REPLIES
+#define NEED_EVENTS
 #include <X11/X.h>
 #include <X11/Xproto.h>
 #include "misc.h"
index ee3600f..a5cab0f 100644 (file)
@@ -6,12 +6,12 @@
 /* $XFree86: xc/programs/Xserver/Xext/xf86dga2.c,v 1.17 2001/10/28 03:32:51 tsi Exp $ */
 
 
-#define NEED_REPLIES
-#define NEED_EVENTS
-#ifdef HAVE_DIX_CONFIG_H
-#include <dix-config.h>
+#ifdef HAVE_XORG_CONFIG_H
+#include <xorg-config.h>
 #endif
 
+#define NEED_REPLIES
+#define NEED_EVENTS
 #include <X11/X.h>
 #include <X11/Xproto.h>
 #include "misc.h"
index 176401b..a5dc2e2 100644 (file)
@@ -6,12 +6,12 @@
 
 /* THIS IS NOT AN X CONSORTIUM STANDARD */
 
-#define NEED_REPLIES
-#define NEED_EVENTS
-#ifdef HAVE_DIX_CONFIG_H
-#include <dix-config.h>
+#ifdef HAVE_XORG_CONFIG_H
+#include <xorg-config.h>
 #endif
 
+#define NEED_REPLIES
+#define NEED_EVENTS
 #include <X11/X.h>
 #include <X11/Xproto.h>
 #include "misc.h"
index 11e0175..50575cc 100644 (file)
@@ -33,12 +33,12 @@ from Kaleb S. KEITHLEY
 /* $Xorg: xf86vmode.c,v 1.3 2000/08/17 19:47:59 cpqbld Exp $ */
 /* THIS IS NOT AN X CONSORTIUM STANDARD OR AN X PROJECT TEAM SPECIFICATION */
 
-#define NEED_REPLIES
-#define NEED_EVENTS
-#ifdef HAVE_DIX_CONFIG_H
-#include <dix-config.h>
+#ifdef HAVE_XORG_CONFIG_H
+#include <xorg-config.h>
 #endif
 
+#define NEED_REPLIES
+#define NEED_EVENTS
 #include <X11/X.h>
 #include <X11/Xproto.h>
 #include "misc.h"
index 7775049..7899f3a 100644 (file)
@@ -1,7 +1,7 @@
 /* $XFree86: xc/programs/Xserver/Xext/xvmod.c,v 1.1 1998/08/13 14:45:36 dawes Exp $ */
 
-#ifdef HAVE_DIX_CONFIG_H
-#include <dix-config.h>
+#ifdef HAVE_XORG_CONFIG_H
+#include <xorg-config.h>
 #endif
 
 #include <X11/X.h>
index 50cce79..80d9993 100644 (file)
 #include <xorg-config.h>
 #endif
 
-#ifdef HAVE_DIX_CONFIG_H
-#include <dix-config.h>
-#endif
-
 #ifdef XFree86LOADER
 
 #include "xf86Module.h"
index 853d49b..1c4f106 100644 (file)
@@ -33,6 +33,10 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  *
  */
 
+#ifdef HAVE_XORG_CONFIG_H
+#include <xorg-config.h>
+#endif
+
 #include "xf86Module.h"
 #include "colormap.h"
 #include "micmap.h"
index 5bcd101..5af4161 100644 (file)
 #include <xorg-config.h>
 #endif
 
-#ifdef HAVE_DIX_CONFIG_H
-#include <dix-config.h>
-#endif
-
 #ifdef XFree86LOADER
 
 #include "xf86Module.h"
index dc9fddc..be3b9ee 100644 (file)
 #include <xorg-config.h>
 #endif
 
-#ifdef HAVE_DIX_CONFIG_H
-#include <dix-config.h>
-#endif
-
 #ifdef XFree86LOADER
 #include "xf86Module.h"
 
index 2825555..5afb1d3 100644 (file)
@@ -1,7 +1,7 @@
 /* $XFree86: xc/programs/Xserver/record/recordmod.c,v 1.5 1999/01/26 05:54:21 dawes Exp $ */
 
-#ifdef HAVE_DIX_CONFIG_H
-#include <dix-config.h>
+#ifdef HAVE_XORG_CONFIG_H
+#include <xorg-config.h>
 #endif
 
 #include "xf86Module.h"
index 16ba6f2..5f347a3 100644 (file)
 #include <xorg-config.h>
 #endif
 
-#ifdef HAVE_DIX_CONFIG_H
-#include <dix-config.h>
-#endif
-
 #ifdef XFree86LOADER
 
 #include "xf86Module.h"
index acc0743..d2c68e1 100644 (file)
@@ -52,6 +52,10 @@ SOFTWARE.
 #include <dix-config.h>
 #endif
 
+#ifdef HAVE_XORG_CONFIG_H
+#include <xorg-config.h>
+#endif
+
 #ifdef HAVE_DMX_CONFIG_H
 #include <dmx-config.h>
 #endif
index 2e6ad6e..ee0acb0 100644 (file)
@@ -30,6 +30,10 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
 #include <dix-config.h>
 #endif
 
+#ifdef HAVE_XORG_CONFIG_H
+#include <xorg-config.h>
+#endif
+
 #include <stdio.h>
 #define        NEED_EVENTS 1
 #include <X11/X.h>
index b2b2dad..5c0bca4 100644 (file)
@@ -4,6 +4,10 @@
 #include <dix-config.h>
 #endif
 
+#ifdef HAVE_XORG_CONFIG_H
+#include <xorg-config.h>
+#endif
+
 #include <stdio.h>
 #define NEED_EVENTS 1
 #include <X11/X.h>
index 9e0ac9d..1b7853f 100644 (file)
@@ -30,6 +30,10 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
 #include <dix-config.h>
 #endif
 
+#ifdef HAVE_XORG_CONFIG_H
+#include <xorg-config.h>
+#endif
+
 #include <stdio.h>
 #define        NEED_EVENTS 1
 #include <X11/X.h>