fixes to allow Xvfb and Xephyr to be built if you build with --disable-xdarwin

This commit is contained in:
Ben Byer 2007-11-09 03:40:37 -08:00 committed by Jeremy Huddleston
parent 30cbfc786e
commit fe794635bd
4 changed files with 7 additions and 5 deletions

View file

@ -1727,7 +1727,7 @@ if test "$KDRIVE" = yes; then
KDRIVE_OS_INC='-I$(top_srcdir)/hw/kdrive/linux'
KDRIVE_INCS="$KDRIVE_PURE_INCS $KDRIVE_OS_INC"
KDRIVE_CFLAGS="$XSERVER_CFLAGS -DHAVE_KDRIVE_CONFIG_H $TSLIB_CFLAGS"
KDRIVE_CFLAGS="$XSERVER_CFLAGS -DHAVE_KDRIVE_CONFIG_H $TSLIB_CFLAGS -fno-common"
# dix os fb mi extension glx (NOTYET) damage shadow xpstubs
#KDRIVE_PURE_LIBS="$DIX_LIB $OS_LIB $FB_LIB $XEXT_LIB $MIEXT_DAMAGE_LIB \

View file

@ -259,7 +259,7 @@ main(int argc, char *argv[], char *envp[])
/* Quartz support on Mac OS X requires that the Cocoa event loop be in
* the main thread. This allows the X server main to be called again
* from another thread. */
#if defined(__DARWIN__) && defined(DARWIN_WITH_QUARTZ)
#ifdef DARWIN_WITH_QUARTZ
DarwinHandleGUI(argc, argv, envp);
#endif

View file

@ -22,7 +22,9 @@ if XPRINT
XPRINT_SUBDIRS = xprint
endif
if XDARWIN
DARWIN_SUBDIRS = darwin
endif
SUBDIRS = \
$(XORG_SUBDIRS) \

View file

@ -672,10 +672,10 @@ InitVisualWrap()
{
miResetInitVisuals();
#ifdef GLXEXT
#ifndef __DARWIN__
GlxWrapInitVisuals(&miInitVisualsProc);
#else
#ifdef INXQUARTZ
DarwinGlxWrapInitVisuals(&miInitVisualsProc);
#else
GlxWrapInitVisuals(&miInitVisualsProc);
#endif
#endif
}