deb4998ba50060c48cce222fd18a8eed053918d7vboxsync/*
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync * Copyright 2005 Red Hat Inc., Raleigh, North Carolina.
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync *
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync * All Rights Reserved.
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync *
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync * Permission is hereby granted, free of charge, to any person obtaining
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync * a copy of this software and associated documentation files (the
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync * "Software"), to deal in the Software without restriction, including
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync * without limitation on the rights to use, copy, modify, merge,
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync * publish, distribute, sublicense, and/or sell copies of the Software,
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync * and to permit persons to whom the Software is furnished to do so,
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync * subject to the following conditions:
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync *
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync * The above copyright notice and this permission notice (including the
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync * next paragraph) shall be included in all copies or substantial
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync * portions of the Software.
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync *
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync * NON-INFRINGEMENT. IN NO EVENT SHALL RED HAT AND/OR THEIR SUPPLIERS
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync * SOFTWARE.
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync */
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync/*
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync * Authors:
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync * Kevin E. Martin <kem@redhat.com>
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync *
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync */
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync/** \file
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync * Provide configuration #define's and #undef's to build Xdmx in X.Org's
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync * modular source tree.
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync */
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync#ifndef DMX_CONFIG_H
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync#define DMX_CONFIG_H
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync#include <dix-config.h>
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync/*
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync * Note 1: This is a signed int that is printed as a decimal number.
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync * Since we want to make it human-interpretable, the fields are
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync * defined as:
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync * 2147483648
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync * AAbbyymmdd
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync * AA: major version 01-20
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync * bb: minor version 00-99
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync * yy: year 00-99 [See Note 2]
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync * mm: month 01-12
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync * dd: day 01-31
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync *
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync * Note 2: The default epoch for the year is 2000.
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync * To change the default epoch, change the DMX_VENDOR_RELEASE
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync * macro below, bumb the minor version number, and change
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync * xdpyinfo to key off the major/minor version to determine the
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync * new epoch. Remember to do this on January 1, 2100 and every
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync * 100 years thereafter.
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync */
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync#define DMX_VENDOR_RELEASE(major,minor,year,month,day) \
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync ((major) * 100000000) + \
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync ((minor) * 1000000) + \
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync ((year-2000) * 10000) + \
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync ((month) * 100) + \
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync ((day) * 1)
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync#define VENDOR_RELEASE DMX_VENDOR_RELEASE(1,2,2004,6,30)
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync#define VENDOR_STRING "DMX Project"
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync/* Enable the DMX extension */
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync#define DMXEXT
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync/* Disable the extensions that are not currently supported */
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync#undef BEZIER
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync#undef PEXEXT
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync#undef MULTIBUFFER
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync#undef XV
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync#undef XIE
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync#undef DBE
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync#undef XF86VIDMODE
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync#undef XF86MISC
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync#undef XFreeXDGA
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync#undef XF86DRI
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync#undef MITSHM
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync#undef TOGCUP
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync#undef DPSEXT
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync#undef MITMISC
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync#undef SCREENSAVER
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync#undef RANDR
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync#undef XFIXES
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync#undef DAMAGE
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync#undef COMPOSITE
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync#undef FONTCACHE
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync#endif /* DMX_CONFIG_H */