Skip to content

Commit

Permalink
Darwin: Use dix-config.h instead of xorg-config.h
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeremy Huddleston committed Nov 29, 2007
1 parent f5e5b25 commit 7fc12de
Show file tree
Hide file tree
Showing 33 changed files with 60 additions and 63 deletions.
1 change: 0 additions & 1 deletion hw/darwin/Makefile.am
@@ -1,7 +1,6 @@
AM_CFLAGS = $(XSERVER_CFLAGS) $(DIX_CFLAGS)
AM_CPPFLAGS = \
-DBUILD_DATE=\"$(BUILD_DATE)\" \
-DHAVE_XORG_CONFIG_H \
-DINXQUARTZ \
-DUSE_NEW_CLUT \
-DXFree86Server \
Expand Down
4 changes: 2 additions & 2 deletions hw/darwin/darwin.c
Expand Up @@ -29,8 +29,8 @@
* use or other dealings in this Software without prior written authorization.
*/

#ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h>
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

#include <X11/X.h>
Expand Down
4 changes: 2 additions & 2 deletions hw/darwin/darwinEvents.c
Expand Up @@ -30,8 +30,8 @@ used in advertising or otherwise to promote the sale, use or other dealings
in this Software without prior written authorization from The Open Group.
*/

#ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h>
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

#define NEED_EVENTS
Expand Down
4 changes: 2 additions & 2 deletions hw/darwin/darwinKeyboard.c
Expand Up @@ -56,8 +56,8 @@
===========================================================================
*/

#ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h>
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

// Define this to get a diagnostic output to stderr which is helpful
Expand Down
4 changes: 2 additions & 2 deletions hw/darwin/darwinXinput.c
Expand Up @@ -52,8 +52,8 @@ SOFTWARE.
********************************************************/

#ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h>
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

#define NEED_EVENTS
Expand Down
1 change: 0 additions & 1 deletion hw/darwin/quartz/Makefile.am
Expand Up @@ -4,7 +4,6 @@ AM_CFLAGS = $(XSERVER_CFLAGS) $(DIX_CFLAGS)
AM_OBJCFLAGS = $(XSERVER_CFLAGS) $(DIX_CFLAGS)
AM_CPPFLAGS = \
-DHAS_KL_API \
-DHAVE_XORG_CONFIG_H \
-I$(srcdir) -I$(srcdir)/.. \
-I$(top_srcdir)/miext/rootless

Expand Down
4 changes: 2 additions & 2 deletions hw/darwin/quartz/X11Application.m
Expand Up @@ -27,8 +27,8 @@
promote the sale, use or other dealings in this Software without
prior written authorization. */

#ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h>
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

#include "quartzCommon.h"
Expand Down
4 changes: 2 additions & 2 deletions hw/darwin/quartz/X11Controller.m
Expand Up @@ -27,8 +27,8 @@
promote the sale, use or other dealings in this Software without
prior written authorization. */

#ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h>
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

#define DEFAULT_PATH "/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/X11/bin"
Expand Down
4 changes: 2 additions & 2 deletions hw/darwin/quartz/applewm.c
Expand Up @@ -25,8 +25,8 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
**************************************************************************/

#ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h>
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

#include "quartzCommon.h"
Expand Down
4 changes: 2 additions & 2 deletions hw/darwin/quartz/cr/XView.m
Expand Up @@ -30,8 +30,8 @@
* use or other dealings in this Software without prior written authorization.
*/

#ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h>
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

#import "XView.h"
Expand Down
4 changes: 2 additions & 2 deletions hw/darwin/quartz/cr/crAppleWM.m
Expand Up @@ -26,8 +26,8 @@
* use or other dealings in this Software without prior written authorization.
*/

#ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h>
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

#include "quartz/quartzCommon.h"
Expand Down
4 changes: 2 additions & 2 deletions hw/darwin/quartz/cr/crFrame.m
Expand Up @@ -27,8 +27,8 @@
* use or other dealings in this Software without prior written authorization.
*/

#ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h>
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

#include "quartz/quartzCommon.h"
Expand Down
4 changes: 2 additions & 2 deletions hw/darwin/quartz/cr/crScreen.m
Expand Up @@ -27,8 +27,8 @@
* use or other dealings in this Software without prior written authorization.
*/

#ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h>
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

#include "quartz/quartzCommon.h"
Expand Down
4 changes: 2 additions & 2 deletions hw/darwin/quartz/fullscreen/fullscreen.c
Expand Up @@ -26,8 +26,8 @@
* use or other dealings in this Software without prior written authorization.
*/

#ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h>
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

#include "quartz/quartzCommon.h"
Expand Down
4 changes: 2 additions & 2 deletions hw/darwin/quartz/fullscreen/quartzCursor.c
Expand Up @@ -28,8 +28,8 @@
* use or other dealings in this Software without prior written authorization.
*/

#ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h>
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

#include "quartz/quartzCommon.h"
Expand Down
4 changes: 2 additions & 2 deletions hw/darwin/quartz/pseudoramiX.c
Expand Up @@ -33,8 +33,8 @@ dealings in this Software without prior written authorization from Digital
Equipment Corporation.
******************************************************************/

#ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h>
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

#include "pseudoramiX.h"
Expand Down
4 changes: 2 additions & 2 deletions hw/darwin/quartz/quartz.c
Expand Up @@ -28,8 +28,8 @@
* use or other dealings in this Software without prior written authorization.
*/

#ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h>
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

#include "quartzCommon.h"
Expand Down
4 changes: 2 additions & 2 deletions hw/darwin/quartz/quartzAudio.c
Expand Up @@ -36,8 +36,8 @@
* use or other dealings in this Software without prior written authorization.
*/

#ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h>
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

#include "quartzCommon.h"
Expand Down
4 changes: 2 additions & 2 deletions hw/darwin/quartz/quartzCocoa.m
Expand Up @@ -32,8 +32,8 @@
* use or other dealings in this Software without prior written authorization.
*/

#ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h>
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

#include "quartzCommon.h"
Expand Down
4 changes: 2 additions & 2 deletions hw/darwin/quartz/quartzCursor.c
Expand Up @@ -28,8 +28,8 @@
* use or other dealings in this Software without prior written authorization.
*/

#ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h>
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

#include "quartzCommon.h"
Expand Down
4 changes: 2 additions & 2 deletions hw/darwin/quartz/quartzKeyboard.c
Expand Up @@ -31,8 +31,8 @@
prior written authorization.
*/

#ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h>
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

#include "quartzCommon.h"
Expand Down
4 changes: 2 additions & 2 deletions hw/darwin/quartz/quartzPasteboard.c
Expand Up @@ -30,8 +30,8 @@
* use or other dealings in this Software without prior written authorization.
*/

#ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h>
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

#include "quartzPasteboard.h"
Expand Down
4 changes: 2 additions & 2 deletions hw/darwin/quartz/quartzStartup.c
Expand Up @@ -27,8 +27,8 @@
* use or other dealings in this Software without prior written authorization.
*/

#ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h>
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

#include <fcntl.h>
Expand Down
1 change: 0 additions & 1 deletion hw/darwin/quartz/xpr/Makefile.am
@@ -1,7 +1,6 @@
noinst_LIBRARIES = libxpr.a
AM_CFLAGS = $(XSERVER_CFLAGS) $(DIX_CFLAGS)
AM_CPPFLAGS = \
-DHAVE_XORG_CONFIG_H \
-I$(srcdir) -I$(srcdir)/.. -I$(srcdir)/../.. \
-I$(top_srcdir)/miext \
-I$(top_srcdir)/miext/rootless \
Expand Down
4 changes: 2 additions & 2 deletions hw/darwin/quartz/xpr/appledri.c
Expand Up @@ -35,8 +35,8 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*
*/

#ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h>
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

#define NEED_REPLIES
Expand Down
4 changes: 2 additions & 2 deletions hw/darwin/quartz/xpr/dri.c
Expand Up @@ -34,8 +34,8 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*
*/

#ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h>
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

#ifdef XFree86LOADER
Expand Down
4 changes: 2 additions & 2 deletions hw/darwin/quartz/xpr/x-hash.c
Expand Up @@ -27,8 +27,8 @@
promote the sale, use or other dealings in this Software without
prior written authorization. */

#ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h>
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

#include "x-hash.h"
Expand Down
4 changes: 2 additions & 2 deletions hw/darwin/quartz/xpr/x-hook.c
Expand Up @@ -27,8 +27,8 @@
promote the sale, use or other dealings in this Software without
prior written authorization. */

#ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h>
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

#include "x-hook.h"
Expand Down
4 changes: 2 additions & 2 deletions hw/darwin/quartz/xpr/x-list.c
Expand Up @@ -27,8 +27,8 @@
promote the sale, use or other dealings in this Software without
prior written authorization. */

#ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h>
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

#include "x-list.h"
Expand Down
4 changes: 2 additions & 2 deletions hw/darwin/quartz/xpr/xprAppleWM.c
Expand Up @@ -27,8 +27,8 @@
* use or other dealings in this Software without prior written authorization.
*/

#ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h>
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

#include "xpr.h"
Expand Down
4 changes: 2 additions & 2 deletions hw/darwin/quartz/xpr/xprCursor.c
Expand Up @@ -29,8 +29,8 @@
* use or other dealings in this Software without prior written authorization.
*/

#ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h>
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

#include "quartz/quartzCommon.h"
Expand Down
4 changes: 2 additions & 2 deletions hw/darwin/quartz/xpr/xprFrame.c
Expand Up @@ -27,8 +27,8 @@
* use or other dealings in this Software without prior written authorization.
*/

#ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h>
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

#include "xpr.h"
Expand Down
4 changes: 2 additions & 2 deletions hw/darwin/quartz/xpr/xprScreen.c
Expand Up @@ -27,8 +27,8 @@
* use or other dealings in this Software without prior written authorization.
*/

#ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h>
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

#include "quartz/quartzCommon.h"
Expand Down

0 comments on commit 7fc12de

Please sign in to comment.