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 */
11af30ca4bSmrg#define BUILDERADDR "tech-x11@NetBSD.org"
121d1be4caSmrg
131d1be4caSmrg/* Builder string */
141d1be4caSmrg#define BUILDERSTRING ""
151d1be4caSmrg
161d1be4caSmrg/* Default font path */
17af30ca4bSmrg/* #define COMPILEDDEFAULTFONTPATH "/usr/pkg/share/fonts/X11/misc/,/usr/pkg/share/fonts/X11/TTF/,/usr/pkg/share/fonts/X11/OTF/,/usr/pkg/share/fonts/X11/Type1/,/usr/pkg/share/fonts/X11/100dpi/,/usr/pkg/share/fonts/X11/75dpi/" */
181d1be4caSmrg
199e818a7dSmrg/* Miscellaneous server configuration files path */
204fa76718Smrg#define SERVER_MISC_CONFIG_PATH "/usr/X11R7/lib/xorg"
219e818a7dSmrg
221d1be4caSmrg/* Support Composite Extension */
231d1be4caSmrg#define COMPOSITE 1
241d1be4caSmrg
251d1be4caSmrg/* Support Damage extension */
261d1be4caSmrg#define DAMAGE 1
271d1be4caSmrg
281d1be4caSmrg/* Use OsVendorVErrorF */
291d1be4caSmrg/* #undef DDXOSVERRORF */
301d1be4caSmrg
311d1be4caSmrg/* Use ddxBeforeReset */
321d1be4caSmrg/* #undef DDXBEFORERESET */
331d1be4caSmrg
341d1be4caSmrg/* Build DPMS extension */
351d1be4caSmrg#define DPMSExtension 1
361d1be4caSmrg
3754d2d4faSmrg/* Build DRI3 extension */
3854d2d4faSmrg#define DRI3 1
3954d2d4faSmrg
401d1be4caSmrg/* Build GLX extension */
419e818a7dSmrg#define GLXEXT 1
421d1be4caSmrg
431d1be4caSmrg/* Build GLX DRI loader */
441d1be4caSmrg/* #undef GLX_DRI */
451d1be4caSmrg
461d1be4caSmrg/* Path to DRI drivers */
474fa76718Smrg#define DRI_DRIVER_PATH "/usr/X11R7/lib/modules/dri"
481d1be4caSmrg
491d1be4caSmrg/* Support XDM-AUTH*-1 */
501d1be4caSmrg#define HASXDMAUTH 1
511d1be4caSmrg
521d1be4caSmrg/* Support SHM */
531d1be4caSmrg#define HAS_SHM 1
541d1be4caSmrg
559e818a7dSmrg/* Has backtrace support */
5642daf9eeSmrg#define HAVE_BACKTRACE 1
579e818a7dSmrg
5854d2d4faSmrg/* Has libunwind support */
5954d2d4faSmrg/* #undef HAVE_LIBUNWIND */
6054d2d4faSmrg
6154d2d4faSmrg/* Define to 1 if you have the `cbrt' function. */
621d1be4caSmrg#define HAVE_CBRT 1
631d1be4caSmrg
6454d2d4faSmrg/* Define to 1 if you have the declaration of `program_invocation_short_name', and
6554d2d4faSmrg   to 0 if you don't. */
6654d2d4faSmrg#define HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME 0
6754d2d4faSmrg
681d1be4caSmrg/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
691d1be4caSmrg   */
701d1be4caSmrg#define HAVE_DIRENT_H 1
711d1be4caSmrg
721d1be4caSmrg/* Define to 1 if you have the <dlfcn.h> header file. */
731d1be4caSmrg#define HAVE_DLFCN_H 1
741d1be4caSmrg
759e818a7dSmrg/* Have execinfo.h */
769e818a7dSmrg/* #undef HAVE_EXECINFO_H */
779e818a7dSmrg
781d1be4caSmrg/* Define to 1 if you have the <fcntl.h> header file. */
791d1be4caSmrg#define HAVE_FCNTL_H 1
801d1be4caSmrg
8154d2d4faSmrg/* Define to 1 if you have the `getdtablesize' function. */
8254d2d4faSmrg#define HAVE_GETDTABLESIZE 1
8354d2d4faSmrg
8454d2d4faSmrg/* Define to 1 if you have the `getifaddrs' function. */
8554d2d4faSmrg#define HAVE_GETIFADDRS 1
8654d2d4faSmrg
8754d2d4faSmrg/* Define to 1 if you have the `getpeereid' function. */
8854d2d4faSmrg#define HAVE_GETPEEREID 1
891d1be4caSmrg
9054d2d4faSmrg/* Define to 1 if you have the `getpeerucred' function. */
9154d2d4faSmrg/* #undef HAVE_GETPEERUCRED */
921d1be4caSmrg
9354d2d4faSmrg/* Define to 1 if you have the `getprogname' function. */
9454d2d4faSmrg#define HAVE_GETPROGNAME 1
951d1be4caSmrg
969e818a7dSmrg/* Define to 1 if you have the `getzoneid' function. */
979e818a7dSmrg/* #undef HAVE_GETZONEID */
989e818a7dSmrg
991d1be4caSmrg/* Define to 1 if you have the <inttypes.h> header file. */
1001d1be4caSmrg#define HAVE_INTTYPES_H 1
1011d1be4caSmrg
1029e818a7dSmrg/* Have Quartz */
1039e818a7dSmrg/* #undef XQUARTZ */
1049e818a7dSmrg
1053f91a2d4Smrg/* Support application updating through sparkle. */
1063f91a2d4Smrg/* #undef XQUARTZ_SPARKLE */
1073f91a2d4Smrg
10854d2d4faSmrg/* Prefix to use for bundle identifiers */
10954d2d4faSmrg#define BUNDLE_ID_PREFIX ""
1103f91a2d4Smrg
1119e818a7dSmrg/* Build a standalone xpbproxy */
1129e818a7dSmrg/* #undef STANDALONE_XPBPROXY */
1131d1be4caSmrg
1141d1be4caSmrg/* Define to 1 if you have the `m' library (-lm). */
1151d1be4caSmrg#define HAVE_LIBM 1
1161d1be4caSmrg
1171d1be4caSmrg/* Define to 1 if you have the <linux/agpgart.h> header file. */
1181d1be4caSmrg/* #undef HAVE_LINUX_AGPGART_H */
1191d1be4caSmrg
1201d1be4caSmrg/* Define to 1 if you have the <linux/apm_bios.h> header file. */
1211d1be4caSmrg/* #undef HAVE_LINUX_APM_BIOS_H */
1221d1be4caSmrg
1231d1be4caSmrg/* Define to 1 if you have the <linux/fb.h> header file. */
1241d1be4caSmrg/* #undef HAVE_LINUX_FB_H */
1251d1be4caSmrg
126356a307cSmrg/* Define to 1 if you have the `memfd_create' function. */
127e780029eSmrg/* #undef HAVE_MEMFD_CREATE */
128e780029eSmrg
1297e31ba66Smrg/* Define to 1 if you have the `mkostemp' function. */
1307e31ba66Smrg#define HAVE_MKOSTEMP 1
1317e31ba66Smrg
13254d2d4faSmrg/* Define to 1 if you have the `mmap' function. */
13354d2d4faSmrg#define HAVE_MMAP 1
1341d1be4caSmrg
1357e31ba66Smrg/* Define to 1 if you have the function pthread_setname_np(const char*) */
1367e31ba66Smrg/* #undef HAVE_PTHREAD_SETNAME_NP_WITHOUT_TID */
1377e31ba66Smrg
1387e31ba66Smrg/* Define to 1 if you have the function pthread_setname_np(pthread_t, const char*) */
1397e31ba66Smrg/* #undef HAVE_PTHREAD_SETNAME_NP_WITH_TID */
1401d1be4caSmrg
1411d1be4caSmrg/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
1421d1be4caSmrg/* #undef HAVE_NDIR_H */
1431d1be4caSmrg
14454d2d4faSmrg/* Define to 1 if you have the `reallocarray' function. */
145af30ca4bSmrg#define HAVE_REALLOCARRAY 1
1461d1be4caSmrg
1473f91a2d4Smrg/* Define to use libc SHA1 functions */
1483f91a2d4Smrg#define HAVE_SHA1_IN_LIBC 1
1493f91a2d4Smrg
1503f91a2d4Smrg/* Define to use CommonCrypto SHA1 functions */
1513f91a2d4Smrg/* #undef HAVE_SHA1_IN_COMMONCRYPTO */
1523f91a2d4Smrg
15354d2d4faSmrg/* Define to use CryptoAPI SHA1 functions */
15454d2d4faSmrg/* #undef HAVE_SHA1_IN_CRYPTOAPI */
15554d2d4faSmrg
1563f91a2d4Smrg/* Define to use libmd SHA1 functions */
1579e818a7dSmrg/* #undef HAVE_SHA1_IN_LIBMD */
1589e818a7dSmrg
1593f91a2d4Smrg/* Define to use libgcrypt SHA1 functions */
1603f91a2d4Smrg/* #undef HAVE_SHA1_IN_LIBGCRYPT */
1613f91a2d4Smrg
16254d2d4faSmrg/* Define to use libnettle SHA1 functions */
16354d2d4faSmrg/* #undef HAVE_SHA1_IN_LIBNETTLE */
16454d2d4faSmrg
1653f91a2d4Smrg/* Define to use libsha1 for SHA1 */
1663f91a2d4Smrg/* #undef HAVE_SHA1_IN_LIBSHA1 */
1673f91a2d4Smrg
1689e818a7dSmrg/* Define to 1 if you have the `shmctl64' function. */
1699e818a7dSmrg/* #undef HAVE_SHMCTL64 */
1709e818a7dSmrg
1711d1be4caSmrg/* Define to 1 if you have the <stdlib.h> header file. */
1721d1be4caSmrg#define HAVE_STDLIB_H 1
1731d1be4caSmrg
174d566a54bSmrg/* Define to 1 if the system has the type 'socklen_t'. */
175d566a54bSmrg#define HAVE_SOCKLEN_T 1
176d566a54bSmrg
17754d2d4faSmrg/* Define to 1 if you have the `strcasecmp' function. */
17854d2d4faSmrg#define HAVE_STRCASECMP 1
17954d2d4faSmrg
18054d2d4faSmrg/* Define to 1 if you have the `strcasestr' function. */
18154d2d4faSmrg#define HAVE_STRCASESTR 1
18254d2d4faSmrg
18354d2d4faSmrg/* Define to 1 if you have the `strncasecmp' function. */
18454d2d4faSmrg#define HAVE_STRNCASECMP 1
18554d2d4faSmrg
18654d2d4faSmrg/* Define to 1 if you have the `strlcat' function. */
18754d2d4faSmrg#define HAVE_STRLCAT 1
18854d2d4faSmrg
18954d2d4faSmrg/* Define to 1 if you have the `strlcpy' function. */
19054d2d4faSmrg#define HAVE_STRLCPY 1
1911d1be4caSmrg
1921d1be4caSmrg/* Define to 1 if you have the <strings.h> header file. */
1931d1be4caSmrg#define HAVE_STRINGS_H 1
1941d1be4caSmrg
1951d1be4caSmrg/* Define to 1 if you have the <string.h> header file. */
1961d1be4caSmrg#define HAVE_STRING_H 1
1971d1be4caSmrg
19854d2d4faSmrg/* Define to 1 if you have the `strndup' function. */
19954d2d4faSmrg#define HAVE_STRNDUP 1
2001d1be4caSmrg
20154d2d4faSmrg/* Define to 1 if libsystemd-daemon is available */
20254d2d4faSmrg/* #undef HAVE_SYSTEMD_DAEMON */
2031d1be4caSmrg
2041d1be4caSmrg/* Define to 1 if SYSV IPC is available */
2051d1be4caSmrg#define HAVE_SYSV_IPC 1
2061d1be4caSmrg
2071d1be4caSmrg/* Define to 1 if you have the <sys/agpio.h> header file. */
2081d1be4caSmrg#define HAVE_SYS_AGPIO_H 1
2091d1be4caSmrg
2101d1be4caSmrg/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
2111d1be4caSmrg   */
2121d1be4caSmrg/* #undef HAVE_SYS_DIR_H */
2131d1be4caSmrg
2141d1be4caSmrg/* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
2151d1be4caSmrg   */
2161d1be4caSmrg/* #undef HAVE_SYS_NDIR_H */
2171d1be4caSmrg
2181d1be4caSmrg/* Define to 1 if you have the <sys/stat.h> header file. */
2191d1be4caSmrg#define HAVE_SYS_STAT_H 1
2201d1be4caSmrg
2211d1be4caSmrg/* Define to 1 if you have the <sys/types.h> header file. */
2221d1be4caSmrg#define HAVE_SYS_TYPES_H 1
2231d1be4caSmrg
2243f91a2d4Smrg/* Define to 1 if you have the <sys/utsname.h> header file. */
2253f91a2d4Smrg#define HAVE_SYS_UTSNAME_H 1
2263f91a2d4Smrg
2278199d687Smrg/* Define to 1 if you have the `timingsafe_memcmp' function. */
2288199d687Smrg/* #undef HAVE_TIMINGSAFE_MEMCMP */
2298199d687Smrg
2301d1be4caSmrg/* Define to 1 if you have the <unistd.h> header file. */
2311d1be4caSmrg#define HAVE_UNISTD_H 1
2321d1be4caSmrg
2333f91a2d4Smrg/* Define to 1 if you have the <fnmatch.h> header file. */
2343f91a2d4Smrg#define HAVE_FNMATCH_H 1
2353f91a2d4Smrg
2369e818a7dSmrg/* Have /dev/urandom */
2379e818a7dSmrg/* #undef HAVE_URANDOM */
2389e818a7dSmrg
239ce7a358cSmrg/* Define to 1 if you have the `vasprintf' function. */
240ce7a358cSmrg#define HAVE_VASPRINTF 1
241ce7a358cSmrg
2421d1be4caSmrg/* Support IPv6 for TCP connections */
2437e31ba66Smrg#define IPv6 1
2441d1be4caSmrg
2451d1be4caSmrg/* Support os-specific local connections */
2461d1be4caSmrg/* #undef LOCALCONN */
2471d1be4caSmrg
2481d1be4caSmrg/* Support MIT-SHM Extension */
2491d1be4caSmrg#define MITSHM 1
2501d1be4caSmrg
2511d1be4caSmrg/* Enable some debugging code */
2529f4730dfSjmcneill/* #undef DEBUG */
2531d1be4caSmrg
2541d1be4caSmrg/* Name of package */
2551d1be4caSmrg#define PACKAGE "xorg-server"
2561d1be4caSmrg
2571d1be4caSmrg/* Internal define for Xinerama */
2581d1be4caSmrg#define PANORAMIX 1
2591d1be4caSmrg
26054d2d4faSmrg/* Support Present extension */
261be77ea21Smrg#if 0
26254d2d4faSmrg#define PRESENT 1
263be77ea21Smrg#endif
26454d2d4faSmrg
2651d1be4caSmrg/* Overall prefix */
266af30ca4bSmrg#if 0
267af30ca4bSmrg#define PROJECTROOT "/usr/X11R7"
268af30ca4bSmrg#endif
2691d1be4caSmrg
2701d1be4caSmrg/* Support RANDR extension */
2711d1be4caSmrg#define RANDR 1
2721d1be4caSmrg
2731d1be4caSmrg/* Support Record extension */
274be77ea21Smrg#if 0
2753f91a2d4Smrg#define XRECORD 1
276be77ea21Smrg#endif
2771d1be4caSmrg
2781d1be4caSmrg/* Support RENDER extension */
2791d1be4caSmrg#define RENDER 1
2801d1be4caSmrg
2811d1be4caSmrg/* Support X resource extension */
2821d1be4caSmrg#define RES 1
2831d1be4caSmrg
28454d2d4faSmrg/* Support client ID tracking in X resource extension */
28554d2d4faSmrg#define CLIENTIDS 1
28654d2d4faSmrg
2871d1be4caSmrg/* Support MIT-SCREEN-SAVER extension */
2881d1be4caSmrg#define SCREENSAVER 1
2891d1be4caSmrg
2901d1be4caSmrg/* Support Secure RPC ("SUN-DES-1") authentication for X11 clients */
2911d1be4caSmrg/* #undef SECURE_RPC */
2921d1be4caSmrg
2931d1be4caSmrg/* Support SHAPE extension */
2941d1be4caSmrg#define SHAPE 1
2951d1be4caSmrg
29654d2d4faSmrg/* Where to install Xorg.bin and Xorg.wrap */
29754d2d4faSmrg/* #undef SUID_WRAPPER_DIR */
29854d2d4faSmrg
2991d1be4caSmrg/* Define to 1 on systems derived from System V Release 4 */
3001d1be4caSmrg/* #undef SVR4 */
3011d1be4caSmrg
30254d2d4faSmrg/* sysconfdir */
3037e31ba66Smrg#define SYSCONFDIR "/etc"
30454d2d4faSmrg
3051d1be4caSmrg/* Support TCP socket connections */
3061d1be4caSmrg#define TCPCONN 1
3071d1be4caSmrg
3081d1be4caSmrg/* Support UNIX socket connections */
3091d1be4caSmrg#define UNIXCONN 1
3101d1be4caSmrg
3119e818a7dSmrg/* Build X string registry */
31254d2d4faSmrg/* #undef XREGISTRY */
3139e818a7dSmrg
3141d1be4caSmrg/* Build X-ACE extension */
3151d1be4caSmrg#define XACE 1
3161d1be4caSmrg
3179e818a7dSmrg/* Build SELinux extension */
3189e818a7dSmrg/* #undef XSELINUX */
3199e818a7dSmrg
3201d1be4caSmrg/* Support XCMisc extension */
3211d1be4caSmrg#define XCMISC 1
3221d1be4caSmrg
3231d1be4caSmrg/* Build Security extension */
3249e818a7dSmrg/* #undef XCSECURITY */
3251d1be4caSmrg
3261d1be4caSmrg/* Support Xdmcp */
3271d1be4caSmrg#define XDMCP 1
3281d1be4caSmrg
3291d1be4caSmrg/* Build XFree86 BigFont extension */
3309e818a7dSmrg/* #undef XF86BIGFONT */
3311d1be4caSmrg
3321d1be4caSmrg/* Support XFree86 Video Mode extension */
333af30ca4bSmrg#if 0
3341d1be4caSmrg#define XF86VIDMODE 1
335be77ea21Smrg#endif
3361d1be4caSmrg
3371d1be4caSmrg/* Support XFixes extension */
3381d1be4caSmrg#define XFIXES 1
3391d1be4caSmrg
3401d1be4caSmrg/* Build XDGA support */
341af30ca4bSmrg#if 0
3421d1be4caSmrg#define XFreeXDGA 1
343be77ea21Smrg#endif
3441d1be4caSmrg
3451d1be4caSmrg/* Support Xinerama extension */
3461d1be4caSmrg#define XINERAMA 1
3471d1be4caSmrg
3481d1be4caSmrg/* Current Xorg version */
3492f76b07dSmrg#define XORG_VERSION_CURRENT ((10000000) + ((21) * 100000) + ((1) * 1000) + 18)
3501d1be4caSmrg
3511d1be4caSmrg/* Build Xv Extension */
3521d1be4caSmrg#define XvExtension 1
3531d1be4caSmrg
3541d1be4caSmrg/* Build XvMC Extension */
3551d1be4caSmrg#define XvMCExtension 1
3561d1be4caSmrg
3571d1be4caSmrg/* Support XSync extension */
3581d1be4caSmrg#define XSYNC 1
3591d1be4caSmrg
3601d1be4caSmrg/* Support XTest extension */
3611d1be4caSmrg#define XTEST 1
3621d1be4caSmrg
3631d1be4caSmrg/* Support Xv extension */
3641d1be4caSmrg#define XV 1
3651d1be4caSmrg
3661d1be4caSmrg/* Support DRI extension */
3671d1be4caSmrg#define XF86DRI 1
3681d1be4caSmrg
3699e818a7dSmrg/* Build DRI2 extension */
3709e818a7dSmrg#define DRI2 1
3719e818a7dSmrg
3721d1be4caSmrg/* Build DBE support */
373be77ea21Smrg#if 0
3741d1be4caSmrg#define DBE 1
375be77ea21Smrg#endif
3761d1be4caSmrg
3771d1be4caSmrg/* Vendor name */
3781d1be4caSmrg#define XVENDORNAME "The X.Org Foundation"
3791d1be4caSmrg
38054d2d4faSmrg/* Number of bits in a file offset, on hosts where this is settable. */
38154d2d4faSmrg/* #undef _FILE_OFFSET_BITS */
38254d2d4faSmrg
3831d1be4caSmrg/* Enable GNU and other extensions to the C environment for GLIBC */
38454d2d4faSmrg#define _GNU_SOURCE 1
38554d2d4faSmrg
38654d2d4faSmrg/* Define for large files, on AIX-style hosts. */
38754d2d4faSmrg/* #undef _LARGE_FILES */
3881d1be4caSmrg
3891d1be4caSmrg/* Define to empty if `const' does not conform to ANSI C. */
3901d1be4caSmrg/* #undef const */
3911d1be4caSmrg
3921d1be4caSmrg/* Define to `int' if <sys/types.h> does not define. */
3931d1be4caSmrg/* #undef pid_t */
3941d1be4caSmrg
3951d1be4caSmrg/* Build Rootless code */
3961d1be4caSmrg/* #undef ROOTLESS */
3971d1be4caSmrg
3981d1be4caSmrg/* Define to 1 if unsigned long is 64 bits. */
39948ddc4d9Smrg#ifdef _LP64
4001d1be4caSmrg#define _XSERVER64 1
40148ddc4d9Smrg#endif
4021d1be4caSmrg
4031d1be4caSmrg/* System is BSD-like */
4041d1be4caSmrg#define CSRG_BASED 1
4051d1be4caSmrg
4061d1be4caSmrg/* Define to 1 if `struct sockaddr_in' has a `sin_len' member */
4071d1be4caSmrg#define BSD44SOCKETS 1
4081d1be4caSmrg
4091d1be4caSmrg/* Support D-Bus */
4103f91a2d4Smrg/* #undef HAVE_DBUS */
4113f91a2d4Smrg
4123f91a2d4Smrg/* Use libudev for input hotplug */
4133f91a2d4Smrg/* #undef CONFIG_UDEV */
4149e818a7dSmrg
41554d2d4faSmrg/* Use libudev for kms enumeration */
41654d2d4faSmrg/* #undef CONFIG_UDEV_KMS */
41754d2d4faSmrg
41854d2d4faSmrg/* Use udev_monitor_filter_add_match_tag() */
41954d2d4faSmrg/* #undef HAVE_UDEV_MONITOR_FILTER_ADD_MATCH_TAG */
4201d1be4caSmrg
42154d2d4faSmrg/* Use udev_enumerate_add_match_tag() */
42254d2d4faSmrg/* #undef HAVE_UDEV_ENUMERATE_ADD_MATCH_TAG */
42354d2d4faSmrg
42454d2d4faSmrg/* Enable D-Bus core */
42554d2d4faSmrg/* #undef NEED_DBUS */
4261d1be4caSmrg
4271d1be4caSmrg/* Support HAL for hotplug */
4283f91a2d4Smrg/* #undef CONFIG_HAL */
4291d1be4caSmrg
43054d2d4faSmrg/* Enable systemd-logind integration */
43154d2d4faSmrg/* #undef SYSTEMD_LOGIND */
43254d2d4faSmrg
4331d1be4caSmrg/* Have a monotonic clock from clock_gettime() */
4341d1be4caSmrg#define MONOTONIC_CLOCK 1
4351d1be4caSmrg
4361d1be4caSmrg/* Define to 1 if the DTrace Xserver provider probes should be built in */
4371d1be4caSmrg/* #undef XSERVER_DTRACE */
4381d1be4caSmrg
43954d2d4faSmrg/* Define to 1 if typeof works with your compiler. */
44054d2d4faSmrg#define HAVE_TYPEOF 1
4419e818a7dSmrg
44254d2d4faSmrg/* Define to __typeof__ if your compiler spells it that way. */
44354d2d4faSmrg/* #undef typeof */
444ce7a358cSmrg
4459e818a7dSmrg/* Correctly set _XSERVER64 for OSX fat binaries */
4469e818a7dSmrg#ifdef __APPLE__
4479e818a7dSmrg#include "dix-config-apple-verbatim.h"
4489e818a7dSmrg#endif
4499e818a7dSmrg
45054d2d4faSmrg/* Enable general extensions on Solaris.  */
45154d2d4faSmrg#ifndef __EXTENSIONS__
45254d2d4faSmrg# define __EXTENSIONS__ 1
45354d2d4faSmrg#endif
45454d2d4faSmrg
45554d2d4faSmrg/* Defined if needed to expose struct msghdr.msg_control */
45654d2d4faSmrg/* #undef _XOPEN_SOURCE */
45754d2d4faSmrg
45854d2d4faSmrg/* Have support for X shared memory fence library (xshmfence) */
45954d2d4faSmrg#define HAVE_XSHMFENCE 1
46054d2d4faSmrg
46154d2d4faSmrg/* Use XTrans FD passing support */
46254d2d4faSmrg#define XTRANS_SEND_FDS 1
46354d2d4faSmrg
46454d2d4faSmrg/* Wrap SIGBUS to catch MIT-SHM faults */
46554d2d4faSmrg#define BUSFAULT 1
46654d2d4faSmrg
46754d2d4faSmrg/* Don't let Xdefs.h define 'pointer' */
468af30ca4bSmrg#define _XTYPEDEF_POINTER       1
46954d2d4faSmrg
47054d2d4faSmrg/* Don't let XIproto define 'Pointer' */
4717e31ba66Smrg#define _XITYPEDEF_POINTER      1
47254d2d4faSmrg
47354d2d4faSmrg/* Ask fontsproto to make font path element names const */
47454d2d4faSmrg#define FONT_PATH_ELEMENT_NAME_CONST    1
47554d2d4faSmrg
47654d2d4faSmrg/* Build GLAMOR */
47754d2d4faSmrg#define GLAMOR 1
47854d2d4faSmrg
47954d2d4faSmrg/* Build glamor's GBM-based EGL support */
48054d2d4faSmrg#define GLAMOR_HAS_GBM 1
48154d2d4faSmrg
48254d2d4faSmrg/* Build glamor/gbm has linear support */
48354d2d4faSmrg#define GLAMOR_HAS_GBM_LINEAR 1
4847e31ba66Smrg
4857e31ba66Smrg/* GBM has modifiers support */
486af30ca4bSmrg#if 0
487af30ca4bSmrg#define GBM_BO_WITH_MODIFIERS 1
488af30ca4bSmrg#endif
4897e31ba66Smrg
4907e31ba66Smrg/* Glamor can use eglQueryDmaBuf* functions */
491af30ca4bSmrg#if 0
492af30ca4bSmrg#define GLAMOR_HAS_EGL_QUERY_DMABUF 1
493af30ca4bSmrg#endif
49454d2d4faSmrg
495806e81e9Smrg/* Glamor can use EGL_MESA_query_driver functions */
49654d2d4faSmrg#if 0
497af30ca4bSmrg#define GLAMOR_HAS_EGL_QUERY_DRIVER 1
498af30ca4bSmrg#endif
499af30ca4bSmrg
50054d2d4faSmrg/* byte order */
501af30ca4bSmrg#if 0
50254d2d4faSmrg#define X_BYTE_ORDER X_LITTLE_ENDIAN
50354d2d4faSmrg#endif
50454d2d4faSmrg
50554d2d4faSmrg/* Listen on TCP socket */
50654d2d4faSmrg/* #undef LISTEN_TCP */
50754d2d4faSmrg
50854d2d4faSmrg/* Listen on Unix socket */
50954d2d4faSmrg#define LISTEN_UNIX 1
51054d2d4faSmrg
51154d2d4faSmrg/* Listen on local socket */
51254d2d4faSmrg#define LISTEN_LOCAL 1
51354d2d4faSmrg
51454d2d4faSmrg/* Define if no local socket credentials interface exists */
51554d2d4faSmrg/* #undef NO_LOCAL_CLIENT_CRED */
51654d2d4faSmrg
5177e31ba66Smrg/* Have setitimer support */
5187e31ba66Smrg#define HAVE_SETITIMER 1
5197e31ba66Smrg
52054d2d4faSmrg/* Have posix_fallocate() */
52154d2d4faSmrg#define HAVE_POSIX_FALLOCATE 1
52254d2d4faSmrg
5237e31ba66Smrg/* Use input thread */
5247e31ba66Smrg#define INPUTTHREAD 1
5257e31ba66Smrg
5267e31ba66Smrg/* Have poll() */
5277e31ba66Smrg#define HAVE_POLL 1
5287e31ba66Smrg
5297e31ba66Smrg/* Have epoll_create1() */
5307e31ba66Smrg/* #undef HAVE_EPOLL_CREATE1 */
5317e31ba66Smrg
532af30ca4bSmrg/* Have <sys/sysmacros.h> header */
533af30ca4bSmrg/* #undef HAVE_SYS_SYSMACROS_H */
534af30ca4bSmrg
535af30ca4bSmrg/* Have sigprocmask */
536af30ca4bSmrg#define HAVE_SIGPROCMASK 1
537af30ca4bSmrg
538e780029eSmrg/* Have isastream */
539e780029eSmrg/* #undef HAVE_ISASTREAM */
540e780029eSmrg
5411d1be4caSmrg#endif /* _DIX_CONFIG_H_ */
542