Home | History | Annotate | Line # | Download | only in include
      1 /* include/dix-config.h.  Generated from dix-config.h.in by configure.  */
      2 /* dix-config.h.in: not at all generated.                      -*- c -*- */
      3 
      4 #ifndef _DIX_CONFIG_H_
      5 #define _DIX_CONFIG_H_
      6 
      7 /* Support BigRequests extension */
      8 #define BIGREQS 1
      9 
     10 /* Builder address */
     11 #define BUILDERADDR "tech-x11 (at) NetBSD.org"
     12 
     13 /* Builder string */
     14 #define BUILDERSTRING ""
     15 
     16 /* Default font path */
     17 /* #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/" */
     18 
     19 /* Miscellaneous server configuration files path */
     20 #define SERVER_MISC_CONFIG_PATH "/usr/X11R7/lib/xorg"
     21 
     22 /* Support Composite Extension */
     23 #define COMPOSITE 1
     24 
     25 /* Support Damage extension */
     26 #define DAMAGE 1
     27 
     28 /* Use OsVendorVErrorF */
     29 /* #undef DDXOSVERRORF */
     30 
     31 /* Use ddxBeforeReset */
     32 /* #undef DDXBEFORERESET */
     33 
     34 /* Build DPMS extension */
     35 #define DPMSExtension 1
     36 
     37 /* Build DRI3 extension */
     38 #define DRI3 1
     39 
     40 /* Build GLX extension */
     41 #define GLXEXT 1
     42 
     43 /* Build GLX DRI loader */
     44 /* #undef GLX_DRI */
     45 
     46 /* Path to DRI drivers */
     47 #define DRI_DRIVER_PATH "/usr/X11R7/lib/modules/dri"
     48 
     49 /* Support XDM-AUTH*-1 */
     50 #define HASXDMAUTH 1
     51 
     52 /* Support SHM */
     53 #define HAS_SHM 1
     54 
     55 /* Has backtrace support */
     56 #define HAVE_BACKTRACE 1
     57 
     58 /* Has libunwind support */
     59 /* #undef HAVE_LIBUNWIND */
     60 
     61 /* Define to 1 if you have the `cbrt' function. */
     62 #define HAVE_CBRT 1
     63 
     64 /* Define to 1 if you have the declaration of `program_invocation_short_name', and
     65    to 0 if you don't. */
     66 #define HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME 0
     67 
     68 /* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
     69    */
     70 #define HAVE_DIRENT_H 1
     71 
     72 /* Define to 1 if you have the <dlfcn.h> header file. */
     73 #define HAVE_DLFCN_H 1
     74 
     75 /* Have execinfo.h */
     76 /* #undef HAVE_EXECINFO_H */
     77 
     78 /* Define to 1 if you have the <fcntl.h> header file. */
     79 #define HAVE_FCNTL_H 1
     80 
     81 /* Define to 1 if you have the `getdtablesize' function. */
     82 #define HAVE_GETDTABLESIZE 1
     83 
     84 /* Define to 1 if you have the `getifaddrs' function. */
     85 #define HAVE_GETIFADDRS 1
     86 
     87 /* Define to 1 if you have the `getpeereid' function. */
     88 #define HAVE_GETPEEREID 1
     89 
     90 /* Define to 1 if you have the `getpeerucred' function. */
     91 /* #undef HAVE_GETPEERUCRED */
     92 
     93 /* Define to 1 if you have the `getprogname' function. */
     94 #define HAVE_GETPROGNAME 1
     95 
     96 /* Define to 1 if you have the `getzoneid' function. */
     97 /* #undef HAVE_GETZONEID */
     98 
     99 /* Define to 1 if you have the <inttypes.h> header file. */
    100 #define HAVE_INTTYPES_H 1
    101 
    102 /* Have Quartz */
    103 /* #undef XQUARTZ */
    104 
    105 /* Support application updating through sparkle. */
    106 /* #undef XQUARTZ_SPARKLE */
    107 
    108 /* Prefix to use for bundle identifiers */
    109 #define BUNDLE_ID_PREFIX ""
    110 
    111 /* Build a standalone xpbproxy */
    112 /* #undef STANDALONE_XPBPROXY */
    113 
    114 /* Define to 1 if you have the `m' library (-lm). */
    115 #define HAVE_LIBM 1
    116 
    117 /* Define to 1 if you have the <linux/agpgart.h> header file. */
    118 /* #undef HAVE_LINUX_AGPGART_H */
    119 
    120 /* Define to 1 if you have the <linux/apm_bios.h> header file. */
    121 /* #undef HAVE_LINUX_APM_BIOS_H */
    122 
    123 /* Define to 1 if you have the <linux/fb.h> header file. */
    124 /* #undef HAVE_LINUX_FB_H */
    125 
    126 /* Define to 1 if you have the `memfd_create' function. */
    127 /* #undef HAVE_MEMFD_CREATE */
    128 
    129 /* Define to 1 if you have the `mkostemp' function. */
    130 #define HAVE_MKOSTEMP 1
    131 
    132 /* Define to 1 if you have the `mmap' function. */
    133 #define HAVE_MMAP 1
    134 
    135 /* Define to 1 if you have the function pthread_setname_np(const char*) */
    136 /* #undef HAVE_PTHREAD_SETNAME_NP_WITHOUT_TID */
    137 
    138 /* Define to 1 if you have the function pthread_setname_np(pthread_t, const char*) */
    139 /* #undef HAVE_PTHREAD_SETNAME_NP_WITH_TID */
    140 
    141 /* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
    142 /* #undef HAVE_NDIR_H */
    143 
    144 /* Define to 1 if you have the `reallocarray' function. */
    145 #define HAVE_REALLOCARRAY 1
    146 
    147 /* Define to use libc SHA1 functions */
    148 #define HAVE_SHA1_IN_LIBC 1
    149 
    150 /* Define to use CommonCrypto SHA1 functions */
    151 /* #undef HAVE_SHA1_IN_COMMONCRYPTO */
    152 
    153 /* Define to use CryptoAPI SHA1 functions */
    154 /* #undef HAVE_SHA1_IN_CRYPTOAPI */
    155 
    156 /* Define to use libmd SHA1 functions */
    157 /* #undef HAVE_SHA1_IN_LIBMD */
    158 
    159 /* Define to use libgcrypt SHA1 functions */
    160 /* #undef HAVE_SHA1_IN_LIBGCRYPT */
    161 
    162 /* Define to use libnettle SHA1 functions */
    163 /* #undef HAVE_SHA1_IN_LIBNETTLE */
    164 
    165 /* Define to use libsha1 for SHA1 */
    166 /* #undef HAVE_SHA1_IN_LIBSHA1 */
    167 
    168 /* Define to 1 if you have the `shmctl64' function. */
    169 /* #undef HAVE_SHMCTL64 */
    170 
    171 /* Define to 1 if you have the <stdlib.h> header file. */
    172 #define HAVE_STDLIB_H 1
    173 
    174 /* Define to 1 if the system has the type 'socklen_t'. */
    175 #define HAVE_SOCKLEN_T 1
    176 
    177 /* Define to 1 if you have the `strcasecmp' function. */
    178 #define HAVE_STRCASECMP 1
    179 
    180 /* Define to 1 if you have the `strcasestr' function. */
    181 #define HAVE_STRCASESTR 1
    182 
    183 /* Define to 1 if you have the `strncasecmp' function. */
    184 #define HAVE_STRNCASECMP 1
    185 
    186 /* Define to 1 if you have the `strlcat' function. */
    187 #define HAVE_STRLCAT 1
    188 
    189 /* Define to 1 if you have the `strlcpy' function. */
    190 #define HAVE_STRLCPY 1
    191 
    192 /* Define to 1 if you have the <strings.h> header file. */
    193 #define HAVE_STRINGS_H 1
    194 
    195 /* Define to 1 if you have the <string.h> header file. */
    196 #define HAVE_STRING_H 1
    197 
    198 /* Define to 1 if you have the `strndup' function. */
    199 #define HAVE_STRNDUP 1
    200 
    201 /* Define to 1 if libsystemd-daemon is available */
    202 /* #undef HAVE_SYSTEMD_DAEMON */
    203 
    204 /* Define to 1 if SYSV IPC is available */
    205 #define HAVE_SYSV_IPC 1
    206 
    207 /* Define to 1 if you have the <sys/agpio.h> header file. */
    208 #define HAVE_SYS_AGPIO_H 1
    209 
    210 /* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
    211    */
    212 /* #undef HAVE_SYS_DIR_H */
    213 
    214 /* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
    215    */
    216 /* #undef HAVE_SYS_NDIR_H */
    217 
    218 /* Define to 1 if you have the <sys/stat.h> header file. */
    219 #define HAVE_SYS_STAT_H 1
    220 
    221 /* Define to 1 if you have the <sys/types.h> header file. */
    222 #define HAVE_SYS_TYPES_H 1
    223 
    224 /* Define to 1 if you have the <sys/utsname.h> header file. */
    225 #define HAVE_SYS_UTSNAME_H 1
    226 
    227 /* Define to 1 if you have the `timingsafe_memcmp' function. */
    228 /* #undef HAVE_TIMINGSAFE_MEMCMP */
    229 
    230 /* Define to 1 if you have the <unistd.h> header file. */
    231 #define HAVE_UNISTD_H 1
    232 
    233 /* Define to 1 if you have the <fnmatch.h> header file. */
    234 #define HAVE_FNMATCH_H 1
    235 
    236 /* Have /dev/urandom */
    237 /* #undef HAVE_URANDOM */
    238 
    239 /* Define to 1 if you have the `vasprintf' function. */
    240 #define HAVE_VASPRINTF 1
    241 
    242 /* Support IPv6 for TCP connections */
    243 #define IPv6 1
    244 
    245 /* Support os-specific local connections */
    246 /* #undef LOCALCONN */
    247 
    248 /* Support MIT-SHM Extension */
    249 #define MITSHM 1
    250 
    251 /* Enable some debugging code */
    252 /* #undef DEBUG */
    253 
    254 /* Name of package */
    255 #define PACKAGE "xorg-server"
    256 
    257 /* Internal define for Xinerama */
    258 #define PANORAMIX 1
    259 
    260 /* Support Present extension */
    261 #if 0
    262 #define PRESENT 1
    263 #endif
    264 
    265 /* Overall prefix */
    266 #if 0
    267 #define PROJECTROOT "/usr/X11R7"
    268 #endif
    269 
    270 /* Support RANDR extension */
    271 #define RANDR 1
    272 
    273 /* Support Record extension */
    274 #if 0
    275 #define XRECORD 1
    276 #endif
    277 
    278 /* Support RENDER extension */
    279 #define RENDER 1
    280 
    281 /* Support X resource extension */
    282 #define RES 1
    283 
    284 /* Support client ID tracking in X resource extension */
    285 #define CLIENTIDS 1
    286 
    287 /* Support MIT-SCREEN-SAVER extension */
    288 #define SCREENSAVER 1
    289 
    290 /* Support Secure RPC ("SUN-DES-1") authentication for X11 clients */
    291 /* #undef SECURE_RPC */
    292 
    293 /* Support SHAPE extension */
    294 #define SHAPE 1
    295 
    296 /* Where to install Xorg.bin and Xorg.wrap */
    297 /* #undef SUID_WRAPPER_DIR */
    298 
    299 /* Define to 1 on systems derived from System V Release 4 */
    300 /* #undef SVR4 */
    301 
    302 /* sysconfdir */
    303 #define SYSCONFDIR "/etc"
    304 
    305 /* Support TCP socket connections */
    306 #define TCPCONN 1
    307 
    308 /* Support UNIX socket connections */
    309 #define UNIXCONN 1
    310 
    311 /* Build X string registry */
    312 /* #undef XREGISTRY */
    313 
    314 /* Build X-ACE extension */
    315 #define XACE 1
    316 
    317 /* Build SELinux extension */
    318 /* #undef XSELINUX */
    319 
    320 /* Support XCMisc extension */
    321 #define XCMISC 1
    322 
    323 /* Build Security extension */
    324 /* #undef XCSECURITY */
    325 
    326 /* Support Xdmcp */
    327 #define XDMCP 1
    328 
    329 /* Build XFree86 BigFont extension */
    330 /* #undef XF86BIGFONT */
    331 
    332 /* Support XFree86 Video Mode extension */
    333 #if 0
    334 #define XF86VIDMODE 1
    335 #endif
    336 
    337 /* Support XFixes extension */
    338 #define XFIXES 1
    339 
    340 /* Build XDGA support */
    341 #if 0
    342 #define XFreeXDGA 1
    343 #endif
    344 
    345 /* Support Xinerama extension */
    346 #define XINERAMA 1
    347 
    348 /* Current Xorg version */
    349 #define XORG_VERSION_CURRENT ((10000000) + ((21) * 100000) + ((1) * 1000) + 23)
    350 
    351 /* Build Xv Extension */
    352 #define XvExtension 1
    353 
    354 /* Build XvMC Extension */
    355 #define XvMCExtension 1
    356 
    357 /* Support XSync extension */
    358 #define XSYNC 1
    359 
    360 /* Support XTest extension */
    361 #define XTEST 1
    362 
    363 /* Support Xv extension */
    364 #define XV 1
    365 
    366 /* Support DRI extension */
    367 #define XF86DRI 1
    368 
    369 /* Build DRI2 extension */
    370 #define DRI2 1
    371 
    372 /* Build DBE support */
    373 #if 0
    374 #define DBE 1
    375 #endif
    376 
    377 /* Vendor name */
    378 #define XVENDORNAME "The X.Org Foundation"
    379 
    380 /* Number of bits in a file offset, on hosts where this is settable. */
    381 /* #undef _FILE_OFFSET_BITS */
    382 
    383 /* Enable GNU and other extensions to the C environment for GLIBC */
    384 #define _GNU_SOURCE 1
    385 
    386 /* Define for large files, on AIX-style hosts. */
    387 /* #undef _LARGE_FILES */
    388 
    389 /* Define to empty if `const' does not conform to ANSI C. */
    390 /* #undef const */
    391 
    392 /* Define to `int' if <sys/types.h> does not define. */
    393 /* #undef pid_t */
    394 
    395 /* Build Rootless code */
    396 /* #undef ROOTLESS */
    397 
    398 /* Define to 1 if unsigned long is 64 bits. */
    399 #ifdef _LP64
    400 #define _XSERVER64 1
    401 #endif
    402 
    403 /* System is BSD-like */
    404 #define CSRG_BASED 1
    405 
    406 /* Define to 1 if `struct sockaddr_in' has a `sin_len' member */
    407 #define BSD44SOCKETS 1
    408 
    409 /* Support D-Bus */
    410 /* #undef HAVE_DBUS */
    411 
    412 /* Use libudev for input hotplug */
    413 /* #undef CONFIG_UDEV */
    414 
    415 /* Use libudev for kms enumeration */
    416 /* #undef CONFIG_UDEV_KMS */
    417 
    418 /* Use udev_monitor_filter_add_match_tag() */
    419 /* #undef HAVE_UDEV_MONITOR_FILTER_ADD_MATCH_TAG */
    420 
    421 /* Use udev_enumerate_add_match_tag() */
    422 /* #undef HAVE_UDEV_ENUMERATE_ADD_MATCH_TAG */
    423 
    424 /* Enable D-Bus core */
    425 /* #undef NEED_DBUS */
    426 
    427 /* Support HAL for hotplug */
    428 /* #undef CONFIG_HAL */
    429 
    430 /* Enable systemd-logind integration */
    431 /* #undef SYSTEMD_LOGIND */
    432 
    433 /* Have a monotonic clock from clock_gettime() */
    434 #define MONOTONIC_CLOCK 1
    435 
    436 /* Define to 1 if the DTrace Xserver provider probes should be built in */
    437 /* #undef XSERVER_DTRACE */
    438 
    439 /* Define to 1 if typeof works with your compiler. */
    440 #define HAVE_TYPEOF 1
    441 
    442 /* Define to __typeof__ if your compiler spells it that way. */
    443 /* #undef typeof */
    444 
    445 /* Correctly set _XSERVER64 for OSX fat binaries */
    446 #ifdef __APPLE__
    447 #include "dix-config-apple-verbatim.h"
    448 #endif
    449 
    450 /* Enable general extensions on Solaris.  */
    451 #ifndef __EXTENSIONS__
    452 # define __EXTENSIONS__ 1
    453 #endif
    454 
    455 /* Defined if needed to expose struct msghdr.msg_control */
    456 /* #undef _XOPEN_SOURCE */
    457 
    458 /* Have support for X shared memory fence library (xshmfence) */
    459 #define HAVE_XSHMFENCE 1
    460 
    461 /* Use XTrans FD passing support */
    462 #define XTRANS_SEND_FDS 1
    463 
    464 /* Wrap SIGBUS to catch MIT-SHM faults */
    465 #define BUSFAULT 1
    466 
    467 /* Don't let Xdefs.h define 'pointer' */
    468 #define _XTYPEDEF_POINTER       1
    469 
    470 /* Don't let XIproto define 'Pointer' */
    471 #define _XITYPEDEF_POINTER      1
    472 
    473 /* Ask fontsproto to make font path element names const */
    474 #define FONT_PATH_ELEMENT_NAME_CONST    1
    475 
    476 /* Build GLAMOR */
    477 #define GLAMOR 1
    478 
    479 /* Build glamor's GBM-based EGL support */
    480 #define GLAMOR_HAS_GBM 1
    481 
    482 /* Build glamor/gbm has linear support */
    483 #define GLAMOR_HAS_GBM_LINEAR 1
    484 
    485 /* GBM has modifiers support */
    486 #if 0
    487 #define GBM_BO_WITH_MODIFIERS 1
    488 #endif
    489 
    490 /* Glamor can use eglQueryDmaBuf* functions */
    491 #if 0
    492 #define GLAMOR_HAS_EGL_QUERY_DMABUF 1
    493 #endif
    494 
    495 /* Glamor can use EGL_MESA_query_driver functions */
    496 #if 0
    497 #define GLAMOR_HAS_EGL_QUERY_DRIVER 1
    498 #endif
    499 
    500 /* byte order */
    501 #if 0
    502 #define X_BYTE_ORDER X_LITTLE_ENDIAN
    503 #endif
    504 
    505 /* Listen on TCP socket */
    506 /* #undef LISTEN_TCP */
    507 
    508 /* Listen on Unix socket */
    509 #define LISTEN_UNIX 1
    510 
    511 /* Listen on local socket */
    512 #define LISTEN_LOCAL 1
    513 
    514 /* Define if no local socket credentials interface exists */
    515 /* #undef NO_LOCAL_CLIENT_CRED */
    516 
    517 /* Have setitimer support */
    518 #define HAVE_SETITIMER 1
    519 
    520 /* Have posix_fallocate() */
    521 #define HAVE_POSIX_FALLOCATE 1
    522 
    523 /* Use input thread */
    524 #define INPUTTHREAD 1
    525 
    526 /* Have poll() */
    527 #define HAVE_POLL 1
    528 
    529 /* Have epoll_create1() */
    530 /* #undef HAVE_EPOLL_CREATE1 */
    531 
    532 /* Have <sys/sysmacros.h> header */
    533 /* #undef HAVE_SYS_SYSMACROS_H */
    534 
    535 /* Have sigprocmask */
    536 #define HAVE_SIGPROCMASK 1
    537 
    538 /* Have isastream */
    539 /* #undef HAVE_ISASTREAM */
    540 
    541 #endif /* _DIX_CONFIG_H_ */
    542