2005-07-05 00:18:40 +02:00
|
|
|
/*
|
|
|
|
* xwin-config.h.in
|
|
|
|
*
|
|
|
|
* This file has all defines used in the xwin ddx
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
#include <dix-config.h>
|
|
|
|
|
|
|
|
/* Winsock networking */
|
|
|
|
#undef HAS_WINSOCK
|
|
|
|
|
|
|
|
/* Cygwin has /dev/windows for signaling new win32 messages */
|
|
|
|
#undef HAS_DEVWINDOWS
|
|
|
|
|
2010-02-02 17:21:44 +01:00
|
|
|
/* Switch on debug messages */
|
2005-07-05 00:18:40 +02:00
|
|
|
#undef CYGDEBUG
|
|
|
|
#undef CYGWINDOWING_DEBUG
|
|
|
|
#undef CYGMULTIWINDOW_DEBUG
|
|
|
|
|
2005-08-21 21:23:17 +02:00
|
|
|
/* Define to 1 if unsigned long is 64 bits. */
|
|
|
|
#undef _XSERVER64
|
|
|
|
|
2010-02-02 17:21:44 +01:00
|
|
|
/* Short vendor name */
|
|
|
|
#undef XVENDORNAMESHORT
|
|
|
|
|
|
|
|
/* Vendor web address for support */
|
|
|
|
#undef __VENDORDWEBSUPPORT__
|
2010-02-01 18:11:54 +01:00
|
|
|
|
2014-04-05 16:15:46 +02:00
|
|
|
/* Default log location */
|
|
|
|
#undef DEFAULT_LOGDIR
|
|
|
|
|
include: Add RELOCATE_PROJECTROOT to xwin-config.h header
RELOCATE_PROJECTROOT is AC_DEFINED in configure.ac, but currently has no effect
as it doesn't appear in any AC_CONFIG_HEADER header.
When packaged for Windows, we do not have a unix-style filesystem tree, where
file needed by the X server can be found in fixed, absolute paths under the
prefix (PROJECTROOT).
Instead, the filesystem tree containing files needed by the X server and clients
will be installed with the directory containing the X server executable as the
root directory of that tree.
(Typically, this will be in the Program Files directory, which does not have a
fixed name, as it can be moved, localized, or added to to indicate x86 or x64
binaries)
So, RELOCATE_PROJECTROOT is used to make a native Windows build of the X server
look for various files (fonts, xkb data) in locations relative to the X server
rather than at absolute paths, by translating those paths at run-time.
Additionally the XKEYSYMDB, XERRORDB, XLOCALEDIR env vars checked by libX11 are
set appropriately for clients started by the X server.
Signed-off-by: Ryan Pavlik <rpavlik@iastate.edu>
Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
2011-10-27 00:03:25 +02:00
|
|
|
/* Whether we should re-locate the root to where the executable lives */
|
|
|
|
#undef RELOCATE_PROJECTROOT
|