mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-25 06:00:06 +01:00
fixes to allow Xvfb and Xephyr to be built if you build with --disable-xdarwin
This commit is contained in:
parent
30cbfc786e
commit
fe794635bd
4 changed files with 7 additions and 5 deletions
|
|
@ -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 \
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -22,7 +22,9 @@ if XPRINT
|
|||
XPRINT_SUBDIRS = xprint
|
||||
endif
|
||||
|
||||
if XDARWIN
|
||||
DARWIN_SUBDIRS = darwin
|
||||
endif
|
||||
|
||||
SUBDIRS = \
|
||||
$(XORG_SUBDIRS) \
|
||||
|
|
|
|||
|
|
@ -672,10 +672,10 @@ InitVisualWrap()
|
|||
{
|
||||
miResetInitVisuals();
|
||||
#ifdef GLXEXT
|
||||
#ifndef __DARWIN__
|
||||
GlxWrapInitVisuals(&miInitVisualsProc);
|
||||
#else
|
||||
#ifdef INXQUARTZ
|
||||
DarwinGlxWrapInitVisuals(&miInitVisualsProc);
|
||||
#else
|
||||
GlxWrapInitVisuals(&miInitVisualsProc);
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue