dix-config.h revision 83b573b4
11d1be4caSmrg/* include/dix-config.h.  Generated from dix-config.h.in by configure.  */
21d1be4caSmrg/* dix-config.h.in: not at all generated.                      -*- c -*- */
31d1be4caSmrg
41d1be4caSmrg#ifndef _DIX_CONFIG_H_
51d1be4caSmrg#define _DIX_CONFIG_H_
61d1be4caSmrg
71d1be4caSmrg/* Support BigRequests extension */
81d1be4caSmrg#define BIGREQS 1
91d1be4caSmrg
101d1be4caSmrg/* Builder address */
1154d2d4faSmrg/* #define BUILDERADDR "tech-x11@NetBSD.org" */
121d1be4caSmrg
131d1be4caSmrg/* Operating System Name */
1454d2d4faSmrg/* #define OSNAME "NetBSD-7.99.35-i386" */
151d1be4caSmrg
161d1be4caSmrg/* Operating System Vendor */
1754d2d4faSmrg/* #define OSVENDOR "The NetBSD Foundation" */
181d1be4caSmrg
191d1be4caSmrg/* Builder string */
201d1be4caSmrg#define BUILDERSTRING ""
211d1be4caSmrg
221d1be4caSmrg/* Default font path */
23f73d6686Ssnj/* #define COMPILEDDEFAULTFONTPATH "/usr/X11R7/share/fonts/X11/misc,/usr/X11R7/share/fonts/X11/TTF,/usr/X11R7/share/fonts/X11/OTF,/usr/X11R7/share/fonts/X11/Type1,/usr/X11R7/share/fonts/X11/100dpi,/usr/X11R7/share/fonts/X11/75dpi,/usr/X11R7/share/fonts/X11/cyrillic,/usr/X11R7/lib/X11/fonts/misc,/usr/X11R7/lib/X11/fonts/TTF,/usr/X11R7/lib/X11/fonts/OTF,/usr/X11R7/lib/X11/fonts/Type1,/usr/X11R7/lib/X11/fonts/100dpi,/usr/X11R7/lib/X11/fonts/75dpi,/usr/X11R7/lib/X11/fonts/cyrillic" */
241d1be4caSmrg
259e818a7dSmrg/* Miscellaneous server configuration files path */
264fa76718Smrg#define SERVER_MISC_CONFIG_PATH "/usr/X11R7/lib/xorg"
279e818a7dSmrg
281d1be4caSmrg/* Support Composite Extension */
291d1be4caSmrg#define COMPOSITE 1
301d1be4caSmrg
311d1be4caSmrg/* Support Damage extension */
321d1be4caSmrg#define DAMAGE 1
331d1be4caSmrg
341d1be4caSmrg/* Use OsVendorVErrorF */
351d1be4caSmrg/* #undef DDXOSVERRORF */
361d1be4caSmrg
371d1be4caSmrg/* Use ddxBeforeReset */
381d1be4caSmrg/* #undef DDXBEFORERESET */
391d1be4caSmrg
401d1be4caSmrg/* Build DPMS extension */
411d1be4caSmrg#define DPMSExtension 1
421d1be4caSmrg
4354d2d4faSmrg#if 0 /* notyet */
4454d2d4faSmrg/* Build DRI3 extension */
4554d2d4faSmrg#define DRI3 1
4654d2d4faSmrg#endif
4754d2d4faSmrg
481d1be4caSmrg/* Build GLX extension */
499e818a7dSmrg#define GLXEXT 1
501d1be4caSmrg
511d1be4caSmrg/* Build GLX DRI loader */
521d1be4caSmrg/* #undef GLX_DRI */
531d1be4caSmrg
541d1be4caSmrg/* Path to DRI drivers */
554fa76718Smrg#define DRI_DRIVER_PATH "/usr/X11R7/lib/modules/dri"
561d1be4caSmrg
571d1be4caSmrg/* Support XDM-AUTH*-1 */
581d1be4caSmrg#define HASXDMAUTH 1
591d1be4caSmrg
601d1be4caSmrg/* Support SHM */
611d1be4caSmrg#define HAS_SHM 1
621d1be4caSmrg
639e818a7dSmrg/* Has backtrace support */
649e818a7dSmrg/* #undef HAVE_BACKTRACE */
659e818a7dSmrg
6654d2d4faSmrg/* Has libunwind support */
6754d2d4faSmrg/* #undef HAVE_LIBUNWIND */
6854d2d4faSmrg
691d1be4caSmrg/* Define to 1 if you have the <byteswap.h> header file. */
701d1be4caSmrg/* #undef HAVE_BYTESWAP_H */
711d1be4caSmrg
7254d2d4faSmrg/* Define to 1 if you have the `cbrt' function. */
731d1be4caSmrg#define HAVE_CBRT 1
741d1be4caSmrg
751d1be4caSmrg/* Define to 1 if you have the <dbm.h> header file. */
761d1be4caSmrg/* #undef HAVE_DBM_H */
771d1be4caSmrg
7854d2d4faSmrg/* Define to 1 if you have the declaration of `program_invocation_short_name', and
7954d2d4faSmrg   to 0 if you don't. */
8054d2d4faSmrg#define HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME 0
8154d2d4faSmrg
821d1be4caSmrg/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
831d1be4caSmrg   */
841d1be4caSmrg#define HAVE_DIRENT_H 1
851d1be4caSmrg
861d1be4caSmrg/* Define to 1 if you have the <dlfcn.h> header file. */
871d1be4caSmrg#define HAVE_DLFCN_H 1
881d1be4caSmrg
899e818a7dSmrg/* Have execinfo.h */
909e818a7dSmrg/* #undef HAVE_EXECINFO_H */
919e818a7dSmrg
921d1be4caSmrg/* Define to 1 if you have the <fcntl.h> header file. */
931d1be4caSmrg#define HAVE_FCNTL_H 1
941d1be4caSmrg
9554d2d4faSmrg/* Define to 1 if you have the `ffs' function. */
9654d2d4faSmrg#define HAVE_FFS 1
9754d2d4faSmrg
9854d2d4faSmrg/* Define to 1 if you have the `getdtablesize' function. */
9954d2d4faSmrg#define HAVE_GETDTABLESIZE 1
10054d2d4faSmrg
10154d2d4faSmrg/* Define to 1 if you have the `getifaddrs' function. */
10254d2d4faSmrg#define HAVE_GETIFADDRS 1
10354d2d4faSmrg
10454d2d4faSmrg/* Define to 1 if you have the `getpeereid' function. */
10554d2d4faSmrg#define HAVE_GETPEEREID 1
1061d1be4caSmrg
10754d2d4faSmrg/* Define to 1 if you have the `getpeerucred' function. */
10854d2d4faSmrg/* #undef HAVE_GETPEERUCRED */
1091d1be4caSmrg
11054d2d4faSmrg/* Define to 1 if you have the `getprogname' function. */
11154d2d4faSmrg#define HAVE_GETPROGNAME 1
1121d1be4caSmrg
1139e818a7dSmrg/* Define to 1 if you have the `getzoneid' function. */
1149e818a7dSmrg/* #undef HAVE_GETZONEID */
1159e818a7dSmrg
1161d1be4caSmrg/* Define to 1 if you have the <inttypes.h> header file. */
1171d1be4caSmrg#define HAVE_INTTYPES_H 1
1181d1be4caSmrg
1199e818a7dSmrg/* Have Quartz */
1209e818a7dSmrg/* #undef XQUARTZ */
1219e818a7dSmrg
1223f91a2d4Smrg/* Support application updating through sparkle. */
1233f91a2d4Smrg/* #undef XQUARTZ_SPARKLE */
1243f91a2d4Smrg
12554d2d4faSmrg/* Prefix to use for bundle identifiers */
12654d2d4faSmrg#define BUNDLE_ID_PREFIX ""
1273f91a2d4Smrg
1289e818a7dSmrg/* Build a standalone xpbproxy */
1299e818a7dSmrg/* #undef STANDALONE_XPBPROXY */
1301d1be4caSmrg
13183b573b4Smrg/* Define to 1 if you have the `bsd' library (-lbsd). */
13283b573b4Smrg/* #undef HAVE_LIBBSD */
13383b573b4Smrg
1341d1be4caSmrg/* Define to 1 if you have the `m' library (-lm). */
1351d1be4caSmrg#define HAVE_LIBM 1
1361d1be4caSmrg
13754d2d4faSmrg/* Define to 1 if you have the libdispatch (GCD) available */
13854d2d4faSmrg/* #undef HAVE_LIBDISPATCH */
1391d1be4caSmrg
1401d1be4caSmrg/* Define to 1 if you have the <linux/agpgart.h> header file. */
1411d1be4caSmrg/* #undef HAVE_LINUX_AGPGART_H */
1421d1be4caSmrg
1431d1be4caSmrg/* Define to 1 if you have the <linux/apm_bios.h> header file. */
1441d1be4caSmrg/* #undef HAVE_LINUX_APM_BIOS_H */
1451d1be4caSmrg
1461d1be4caSmrg/* Define to 1 if you have the <linux/fb.h> header file. */
1471d1be4caSmrg/* #undef HAVE_LINUX_FB_H */
1481d1be4caSmrg
14954d2d4faSmrg/* Define to 1 if you have the `mmap' function. */
15054d2d4faSmrg#define HAVE_MMAP 1
1511d1be4caSmrg
1521d1be4caSmrg/* Define to 1 if you have the <ndbm.h> header file. */
1531d1be4caSmrg#define HAVE_NDBM_H 1
1541d1be4caSmrg
1551d1be4caSmrg/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
1561d1be4caSmrg/* #undef HAVE_NDIR_H */
1571d1be4caSmrg
15854d2d4faSmrg/* Define to 1 if you have the `reallocarray' function. */
15954d2d4faSmrg/* #undef HAVE_REALLOCARRAY */
16054d2d4faSmrg
1611d1be4caSmrg/* Define to 1 if you have the <rpcsvc/dbm.h> header file. */
1621d1be4caSmrg/* #undef HAVE_RPCSVC_DBM_H */
1631d1be4caSmrg
16483b573b4Smrg/* Define to 1 if you have the `arc4random_buf' function. */
16583b573b4Smrg#define HAVE_ARC4RANDOM_BUF 1
16683b573b4Smrg
1673f91a2d4Smrg/* Define to use libc SHA1 functions */
1683f91a2d4Smrg#define HAVE_SHA1_IN_LIBC 1
1693f91a2d4Smrg
1703f91a2d4Smrg/* Define to use CommonCrypto SHA1 functions */
1713f91a2d4Smrg/* #undef HAVE_SHA1_IN_COMMONCRYPTO */
1723f91a2d4Smrg
17354d2d4faSmrg/* Define to use CryptoAPI SHA1 functions */
17454d2d4faSmrg/* #undef HAVE_SHA1_IN_CRYPTOAPI */
17554d2d4faSmrg
1763f91a2d4Smrg/* Define to use libmd SHA1 functions */
1779e818a7dSmrg/* #undef HAVE_SHA1_IN_LIBMD */
1789e818a7dSmrg
1793f91a2d4Smrg/* Define to use libgcrypt SHA1 functions */
1803f91a2d4Smrg/* #undef HAVE_SHA1_IN_LIBGCRYPT */
1813f91a2d4Smrg
18254d2d4faSmrg/* Define to use libnettle SHA1 functions */
18354d2d4faSmrg/* #undef HAVE_SHA1_IN_LIBNETTLE */
18454d2d4faSmrg
1853f91a2d4Smrg/* Define to use libsha1 for SHA1 */
1863f91a2d4Smrg/* #undef HAVE_SHA1_IN_LIBSHA1 */
1873f91a2d4Smrg
1889e818a7dSmrg/* Define to 1 if you have the `shmctl64' function. */
1899e818a7dSmrg/* #undef HAVE_SHMCTL64 */
1909e818a7dSmrg
1911d1be4caSmrg/* Define to 1 if you have the <stdlib.h> header file. */
1921d1be4caSmrg#define HAVE_STDLIB_H 1
1931d1be4caSmrg
19454d2d4faSmrg/* Define to 1 if you have the `strcasecmp' function. */
19554d2d4faSmrg#define HAVE_STRCASECMP 1
19654d2d4faSmrg
19754d2d4faSmrg/* Define to 1 if you have the `strcasestr' function. */
19854d2d4faSmrg#define HAVE_STRCASESTR 1
19954d2d4faSmrg
20054d2d4faSmrg/* Define to 1 if you have the `strncasecmp' function. */
20154d2d4faSmrg#define HAVE_STRNCASECMP 1
20254d2d4faSmrg
20354d2d4faSmrg/* Define to 1 if you have the `strlcat' function. */
20454d2d4faSmrg#define HAVE_STRLCAT 1
20554d2d4faSmrg
20654d2d4faSmrg/* Define to 1 if you have the `strlcpy' function. */
20754d2d4faSmrg#define HAVE_STRLCPY 1
2081d1be4caSmrg
2091d1be4caSmrg/* Define to 1 if you have the <strings.h> header file. */
2101d1be4caSmrg#define HAVE_STRINGS_H 1
2111d1be4caSmrg
2121d1be4caSmrg/* Define to 1 if you have the <string.h> header file. */
2131d1be4caSmrg#define HAVE_STRING_H 1
2141d1be4caSmrg
21554d2d4faSmrg/* Define to 1 if you have the `strndup' function. */
21654d2d4faSmrg#define HAVE_STRNDUP 1
2171d1be4caSmrg
21854d2d4faSmrg/* Define to 1 if libsystemd-daemon is available */
21954d2d4faSmrg/* #undef HAVE_SYSTEMD_DAEMON */
2201d1be4caSmrg
2211d1be4caSmrg/* Define to 1 if SYSV IPC is available */
2221d1be4caSmrg#define HAVE_SYSV_IPC 1
2231d1be4caSmrg
2241d1be4caSmrg/* Define to 1 if you have the <sys/agpio.h> header file. */
2251d1be4caSmrg#define HAVE_SYS_AGPIO_H 1
2261d1be4caSmrg
2271d1be4caSmrg/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
2281d1be4caSmrg   */
2291d1be4caSmrg/* #undef HAVE_SYS_DIR_H */
2301d1be4caSmrg
2311d1be4caSmrg/* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
2321d1be4caSmrg   */
2331d1be4caSmrg/* #undef HAVE_SYS_NDIR_H */
2341d1be4caSmrg
2351d1be4caSmrg/* Define to 1 if you have the <sys/stat.h> header file. */
2361d1be4caSmrg#define HAVE_SYS_STAT_H 1
2371d1be4caSmrg
2381d1be4caSmrg/* Define to 1 if you have the <sys/types.h> header file. */
2391d1be4caSmrg#define HAVE_SYS_TYPES_H 1
2401d1be4caSmrg
2413f91a2d4Smrg/* Define to 1 if you have the <sys/utsname.h> header file. */
2423f91a2d4Smrg#define HAVE_SYS_UTSNAME_H 1
2433f91a2d4Smrg
2448199d687Smrg/* Define to 1 if you have the `timingsafe_memcmp' function. */
2458199d687Smrg/* #undef HAVE_TIMINGSAFE_MEMCMP */
2468199d687Smrg
2471d1be4caSmrg/* Define to 1 if you have the <tslib.h> header file. */
2481d1be4caSmrg/* #undef HAVE_TSLIB_H */
2491d1be4caSmrg
2501d1be4caSmrg/* Define to 1 if you have the <unistd.h> header file. */
2511d1be4caSmrg#define HAVE_UNISTD_H 1
2521d1be4caSmrg
2533f91a2d4Smrg/* Define to 1 if you have the <fnmatch.h> header file. */
2543f91a2d4Smrg#define HAVE_FNMATCH_H 1
2553f91a2d4Smrg
2569e818a7dSmrg/* Have /dev/urandom */
2579e818a7dSmrg/* #undef HAVE_URANDOM */
2589e818a7dSmrg
259ce7a358cSmrg/* Define to 1 if you have the `vasprintf' function. */
260ce7a358cSmrg#define HAVE_VASPRINTF 1
261ce7a358cSmrg
2621d1be4caSmrg/* Support IPv6 for TCP connections */
263293e56a8Schristos#ifndef __NetBSD__	/* Defined by the build */
264293e56a8Schristos# define IPv6 1
265293e56a8Schristos#endif
2661d1be4caSmrg
2671d1be4caSmrg/* Support os-specific local connections */
2681d1be4caSmrg/* #undef LOCALCONN */
2691d1be4caSmrg
2701d1be4caSmrg/* Support MIT-SHM Extension */
2711d1be4caSmrg#define MITSHM 1
2721d1be4caSmrg
2731d1be4caSmrg/* Enable some debugging code */
2749f4730dfSjmcneill/* #undef DEBUG */
2751d1be4caSmrg
2761d1be4caSmrg/* Name of package */
2771d1be4caSmrg#define PACKAGE "xorg-server"
2781d1be4caSmrg
2791d1be4caSmrg/* Internal define for Xinerama */
2801d1be4caSmrg#define PANORAMIX 1
2811d1be4caSmrg
282cdb46081Smrg#if 0
28354d2d4faSmrg/* Support Present extension */
28454d2d4faSmrg#define PRESENT 1
285cdb46081Smrg#endif
28654d2d4faSmrg
2871d1be4caSmrg/* Overall prefix */
28854d2d4faSmrg/* #define PROJECTROOT "/usr/X11R7" */
2891d1be4caSmrg
2901d1be4caSmrg/* Support RANDR extension */
2911d1be4caSmrg#define RANDR 1
2921d1be4caSmrg
293cdb46081Smrg#if 0
2941d1be4caSmrg/* Support Record extension */
2953f91a2d4Smrg#define XRECORD 1
296cdb46081Smrg#endif
2971d1be4caSmrg
2981d1be4caSmrg/* Support RENDER extension */
2991d1be4caSmrg#define RENDER 1
3001d1be4caSmrg
3011d1be4caSmrg/* Support X resource extension */
3021d1be4caSmrg#define RES 1
3031d1be4caSmrg
30454d2d4faSmrg/* Support client ID tracking in X resource extension */
30554d2d4faSmrg#define CLIENTIDS 1
30654d2d4faSmrg
3071d1be4caSmrg/* Support MIT-SCREEN-SAVER extension */
3081d1be4caSmrg#define SCREENSAVER 1
3091d1be4caSmrg
3101d1be4caSmrg/* Support Secure RPC ("SUN-DES-1") authentication for X11 clients */
3111d1be4caSmrg/* #undef SECURE_RPC */
3121d1be4caSmrg
3131d1be4caSmrg/* Support SHAPE extension */
3141d1be4caSmrg#define SHAPE 1
3151d1be4caSmrg
31654d2d4faSmrg/* Where to install Xorg.bin and Xorg.wrap */
31754d2d4faSmrg/* #undef SUID_WRAPPER_DIR */
31854d2d4faSmrg
3191d1be4caSmrg/* Define to 1 on systems derived from System V Release 4 */
3201d1be4caSmrg/* #undef SVR4 */
3211d1be4caSmrg
32254d2d4faSmrg/* sysconfdir */
32354d2d4faSmrg#define SYSCONFDIR "/usr/X11R7/etc"
32454d2d4faSmrg
3251d1be4caSmrg/* Support TCP socket connections */
3261d1be4caSmrg#define TCPCONN 1
3271d1be4caSmrg
3281d1be4caSmrg/* Support tslib touchscreen abstraction library */
3291d1be4caSmrg/* #undef TSLIB */
3301d1be4caSmrg
3311d1be4caSmrg/* Support UNIX socket connections */
3321d1be4caSmrg#define UNIXCONN 1
3331d1be4caSmrg
3341d1be4caSmrg/* Define to use byteswap macros from <sys/endian.h> */
3351d1be4caSmrg#define USE_SYS_ENDIAN_H 1
3361d1be4caSmrg
3371d1be4caSmrg/* unaligned word accesses behave as expected */
3381d1be4caSmrg/* #undef WORKING_UNALIGNED_INT */
3391d1be4caSmrg
3409e818a7dSmrg/* Build X string registry */
34154d2d4faSmrg/* #undef XREGISTRY */
3429e818a7dSmrg
3431d1be4caSmrg/* Build X-ACE extension */
3441d1be4caSmrg#define XACE 1
3451d1be4caSmrg
3469e818a7dSmrg/* Build SELinux extension */
3479e818a7dSmrg/* #undef XSELINUX */
3489e818a7dSmrg
3491d1be4caSmrg/* Support XCMisc extension */
3501d1be4caSmrg#define XCMISC 1
3511d1be4caSmrg
3521d1be4caSmrg/* Build Security extension */
3539e818a7dSmrg/* #undef XCSECURITY */
3541d1be4caSmrg
3551d1be4caSmrg/* Support Xdmcp */
3561d1be4caSmrg#define XDMCP 1
3571d1be4caSmrg
3581d1be4caSmrg/* Build XFree86 BigFont extension */
3599e818a7dSmrg/* #undef XF86BIGFONT */
3601d1be4caSmrg
361cdb46081Smrg#if 0
3621d1be4caSmrg/* Support XFree86 Video Mode extension */
3631d1be4caSmrg#define XF86VIDMODE 1
364cdb46081Smrg#endif
3651d1be4caSmrg
3661d1be4caSmrg/* Support XFixes extension */
3671d1be4caSmrg#define XFIXES 1
3681d1be4caSmrg
369cdb46081Smrg#if 0
3701d1be4caSmrg/* Build XDGA support */
3711d1be4caSmrg#define XFreeXDGA 1
372cdb46081Smrg#endif
3731d1be4caSmrg
3741d1be4caSmrg/* Support Xinerama extension */
3751d1be4caSmrg#define XINERAMA 1
3761d1be4caSmrg
3771d1be4caSmrg/* Vendor release */
3781d1be4caSmrg/* #undef XORG_RELEASE */
3791d1be4caSmrg
3801d1be4caSmrg/* Current Xorg version */
38154d2d4faSmrg#define XORG_VERSION_CURRENT (((1) * 10000000) + ((18) * 100000) + ((4) * 1000) + 0)
3821d1be4caSmrg
3831d1be4caSmrg/* Xorg release date */
38454d2d4faSmrg#define XORG_DATE "2016-07-19"
3851d1be4caSmrg
3861d1be4caSmrg/* Build Xv Extension */
3871d1be4caSmrg#define XvExtension 1
3881d1be4caSmrg
3891d1be4caSmrg/* Build XvMC Extension */
3901d1be4caSmrg#define XvMCExtension 1
3911d1be4caSmrg
3921d1be4caSmrg/* Support XSync extension */
3931d1be4caSmrg#define XSYNC 1
3941d1be4caSmrg
3951d1be4caSmrg/* Support XTest extension */
3961d1be4caSmrg#define XTEST 1
3971d1be4caSmrg
3981d1be4caSmrg/* Support Xv extension */
3991d1be4caSmrg#define XV 1
4001d1be4caSmrg
4011d1be4caSmrg/* Support DRI extension */
4021d1be4caSmrg#define XF86DRI 1
4031d1be4caSmrg
4049e818a7dSmrg/* Build DRI2 extension */
4059e818a7dSmrg#define DRI2 1
4069e818a7dSmrg
407cdb46081Smrg#if 0
4081d1be4caSmrg/* Build DBE support */
4091d1be4caSmrg#define DBE 1
410cdb46081Smrg#endif
4111d1be4caSmrg
4121d1be4caSmrg/* Vendor name */
4131d1be4caSmrg#define XVENDORNAME "The X.Org Foundation"
4141d1be4caSmrg
41554d2d4faSmrg/* Number of bits in a file offset, on hosts where this is settable. */
41654d2d4faSmrg/* #undef _FILE_OFFSET_BITS */
41754d2d4faSmrg
4181d1be4caSmrg/* Enable GNU and other extensions to the C environment for GLIBC */
41954d2d4faSmrg#define _GNU_SOURCE 1
42054d2d4faSmrg
42154d2d4faSmrg/* Define for large files, on AIX-style hosts. */
42254d2d4faSmrg/* #undef _LARGE_FILES */
4231d1be4caSmrg
4241d1be4caSmrg/* Define to empty if `const' does not conform to ANSI C. */
4251d1be4caSmrg/* #undef const */
4261d1be4caSmrg
4271d1be4caSmrg/* Define to `int' if <sys/types.h> does not define. */
4281d1be4caSmrg/* #undef pid_t */
4291d1be4caSmrg
4301d1be4caSmrg/* Build Rootless code */
4311d1be4caSmrg/* #undef ROOTLESS */
4321d1be4caSmrg
4331d1be4caSmrg/* Define to 1 if unsigned long is 64 bits. */
43448ddc4d9Smrg#ifdef _LP64
4351d1be4caSmrg#define _XSERVER64 1
43648ddc4d9Smrg#endif
4371d1be4caSmrg
4381d1be4caSmrg/* System is BSD-like */
4391d1be4caSmrg#define CSRG_BASED 1
4401d1be4caSmrg
4411d1be4caSmrg/* Define to 1 if `struct sockaddr_in' has a `sin_len' member */
4421d1be4caSmrg#define BSD44SOCKETS 1
4431d1be4caSmrg
4441d1be4caSmrg/* Support D-Bus */
4453f91a2d4Smrg/* #undef HAVE_DBUS */
4463f91a2d4Smrg
4473f91a2d4Smrg/* Use libudev for input hotplug */
4483f91a2d4Smrg/* #undef CONFIG_UDEV */
4499e818a7dSmrg
45054d2d4faSmrg/* Use libudev for kms enumeration */
45154d2d4faSmrg/* #undef CONFIG_UDEV_KMS */
45254d2d4faSmrg
45354d2d4faSmrg/* Use udev_monitor_filter_add_match_tag() */
45454d2d4faSmrg/* #undef HAVE_UDEV_MONITOR_FILTER_ADD_MATCH_TAG */
4551d1be4caSmrg
45654d2d4faSmrg/* Use udev_enumerate_add_match_tag() */
45754d2d4faSmrg/* #undef HAVE_UDEV_ENUMERATE_ADD_MATCH_TAG */
45854d2d4faSmrg
45954d2d4faSmrg/* Enable D-Bus core */
46054d2d4faSmrg/* #undef NEED_DBUS */
4611d1be4caSmrg
4621d1be4caSmrg/* Support HAL for hotplug */
4633f91a2d4Smrg/* #undef CONFIG_HAL */
4641d1be4caSmrg
46554d2d4faSmrg/* Enable systemd-logind integration */
46654d2d4faSmrg/* #undef SYSTEMD_LOGIND */
46754d2d4faSmrg
4681d1be4caSmrg/* Have a monotonic clock from clock_gettime() */
4691d1be4caSmrg#define MONOTONIC_CLOCK 1
4701d1be4caSmrg
4711d1be4caSmrg/* Define to 1 if the DTrace Xserver provider probes should be built in */
4721d1be4caSmrg/* #undef XSERVER_DTRACE */
4731d1be4caSmrg
4741d1be4caSmrg/* Define to 16-bit byteswap macro */
4751d1be4caSmrg#define bswap_16 bswap16
4761d1be4caSmrg
4771d1be4caSmrg/* Define to 32-bit byteswap macro */
4781d1be4caSmrg#define bswap_32 bswap32
4791d1be4caSmrg
4801d1be4caSmrg/* Define to 64-bit byteswap macro */
4811d1be4caSmrg#define bswap_64 bswap64
4821d1be4caSmrg
48354d2d4faSmrg/* Define to 1 if typeof works with your compiler. */
48454d2d4faSmrg#define HAVE_TYPEOF 1
4859e818a7dSmrg
48654d2d4faSmrg/* Define to __typeof__ if your compiler spells it that way. */
48754d2d4faSmrg/* #undef typeof */
488ce7a358cSmrg
4899e818a7dSmrg/* Correctly set _XSERVER64 for OSX fat binaries */
4909e818a7dSmrg#ifdef __APPLE__
4919e818a7dSmrg#include "dix-config-apple-verbatim.h"
4929e818a7dSmrg#endif
4939e818a7dSmrg
49454d2d4faSmrg/* Enable general extensions on Solaris.  */
49554d2d4faSmrg#ifndef __EXTENSIONS__
49654d2d4faSmrg# define __EXTENSIONS__ 1
49754d2d4faSmrg#endif
49854d2d4faSmrg
49954d2d4faSmrg/* Defined if needed to expose struct msghdr.msg_control */
50054d2d4faSmrg/* #undef _XOPEN_SOURCE */
50154d2d4faSmrg
50254d2d4faSmrg/* Have support for X shared memory fence library (xshmfence) */
50354d2d4faSmrg#define HAVE_XSHMFENCE 1
50454d2d4faSmrg
50554d2d4faSmrg/* Use XTrans FD passing support */
50654d2d4faSmrg#define XTRANS_SEND_FDS 1
50754d2d4faSmrg
50854d2d4faSmrg/* Wrap SIGBUS to catch MIT-SHM faults */
50954d2d4faSmrg#define BUSFAULT 1
51054d2d4faSmrg
51154d2d4faSmrg/* Directory for shared memory temp files */
51254d2d4faSmrg#define SHMDIR "/var/shm"
51354d2d4faSmrg
51454d2d4faSmrg/* Don't let Xdefs.h define 'pointer' */
51504dfa591Smrg/* #define _XTYPEDEF_POINTER       1 */
51654d2d4faSmrg
51754d2d4faSmrg/* Don't let XIproto define 'Pointer' */
51804dfa591Smrg/* #define _XITYPEDEF_POINTER      1 */
51954d2d4faSmrg
52054d2d4faSmrg/* Ask fontsproto to make font path element names const */
52154d2d4faSmrg#define FONT_PATH_ELEMENT_NAME_CONST    1
52254d2d4faSmrg
52354d2d4faSmrg#if 0 /* not yet! */
52454d2d4faSmrg/* Build GLAMOR */
52554d2d4faSmrg#define GLAMOR 1
52654d2d4faSmrg
52754d2d4faSmrg/* Build glamor's GBM-based EGL support */
52854d2d4faSmrg#define GLAMOR_HAS_GBM 1
52954d2d4faSmrg
53054d2d4faSmrg/* Build glamor/gbm has linear support */
53154d2d4faSmrg#define GLAMOR_HAS_GBM_LINEAR 1
53254d2d4faSmrg#endif
53354d2d4faSmrg
53454d2d4faSmrg#if 0
53554d2d4faSmrg/* byte order */
53654d2d4faSmrg#define X_BYTE_ORDER X_LITTLE_ENDIAN
53754d2d4faSmrg#endif
53854d2d4faSmrg
53954d2d4faSmrg/* Listen on TCP socket */
54054d2d4faSmrg/* #undef LISTEN_TCP */
54154d2d4faSmrg
54254d2d4faSmrg/* Listen on Unix socket */
54354d2d4faSmrg#define LISTEN_UNIX 1
54454d2d4faSmrg
54554d2d4faSmrg/* Listen on local socket */
54654d2d4faSmrg#define LISTEN_LOCAL 1
54754d2d4faSmrg
54854d2d4faSmrg/* Define if no local socket credentials interface exists */
54954d2d4faSmrg/* #undef NO_LOCAL_CLIENT_CRED */
55054d2d4faSmrg
55154d2d4faSmrg/* Have posix_fallocate() */
55254d2d4faSmrg#define HAVE_POSIX_FALLOCATE 1
55354d2d4faSmrg
5541d1be4caSmrg#endif /* _DIX_CONFIG_H_ */
555