1 | /*
|
---|
2 | * Copyright 2005 Red Hat Inc., Raleigh, North Carolina.
|
---|
3 | *
|
---|
4 | * All Rights Reserved.
|
---|
5 | *
|
---|
6 | * Permission is hereby granted, free of charge, to any person obtaining
|
---|
7 | * a copy of this software and associated documentation files (the
|
---|
8 | * "Software"), to deal in the Software without restriction, including
|
---|
9 | * without limitation on the rights to use, copy, modify, merge,
|
---|
10 | * publish, distribute, sublicense, and/or sell copies of the Software,
|
---|
11 | * and to permit persons to whom the Software is furnished to do so,
|
---|
12 | * subject to the following conditions:
|
---|
13 | *
|
---|
14 | * The above copyright notice and this permission notice (including the
|
---|
15 | * next paragraph) shall be included in all copies or substantial
|
---|
16 | * portions of the Software.
|
---|
17 | *
|
---|
18 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
---|
19 | * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
---|
20 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
---|
21 | * NON-INFRINGEMENT. IN NO EVENT SHALL RED HAT AND/OR THEIR SUPPLIERS
|
---|
22 | * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
|
---|
23 | * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
---|
24 | * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
---|
25 | * SOFTWARE.
|
---|
26 | */
|
---|
27 |
|
---|
28 | /*
|
---|
29 | * Authors:
|
---|
30 | * Kevin E. Martin <kem@redhat.com>
|
---|
31 | *
|
---|
32 | */
|
---|
33 |
|
---|
34 | /** \file
|
---|
35 | * Provide configuration #define's and #undef's to build Xdmx in X.Org's
|
---|
36 | * modular source tree.
|
---|
37 | */
|
---|
38 |
|
---|
39 | #ifndef DMX_CONFIG_H
|
---|
40 | #define DMX_CONFIG_H
|
---|
41 |
|
---|
42 | #include <dix-config.h>
|
---|
43 |
|
---|
44 | /*
|
---|
45 | * Note 1: This is a signed int that is printed as a decimal number.
|
---|
46 | * Since we want to make it human-interpretable, the fields are
|
---|
47 | * defined as:
|
---|
48 | * 2147483648
|
---|
49 | * AAbbyymmdd
|
---|
50 | * AA: major version 01-20
|
---|
51 | * bb: minor version 00-99
|
---|
52 | * yy: year 00-99 [See Note 2]
|
---|
53 | * mm: month 01-12
|
---|
54 | * dd: day 01-31
|
---|
55 | *
|
---|
56 | * Note 2: The default epoch for the year is 2000.
|
---|
57 | * To change the default epoch, change the DMX_VENDOR_RELEASE
|
---|
58 | * macro below, bumb the minor version number, and change
|
---|
59 | * xdpyinfo to key off the major/minor version to determine the
|
---|
60 | * new epoch. Remember to do this on January 1, 2100 and every
|
---|
61 | * 100 years thereafter.
|
---|
62 | */
|
---|
63 | #define DMX_VENDOR_RELEASE(major,minor,year,month,day) \
|
---|
64 | ((major) * 100000000) + \
|
---|
65 | ((minor) * 1000000) + \
|
---|
66 | ((year-2000) * 10000) + \
|
---|
67 | ((month) * 100) + \
|
---|
68 | ((day) * 1)
|
---|
69 | #define VENDOR_RELEASE DMX_VENDOR_RELEASE(1,2,2007,4,24)
|
---|
70 | #define VENDOR_STRING "DMX Project"
|
---|
71 |
|
---|
72 | /* Enable the DMX extension */
|
---|
73 | #define DMXEXT
|
---|
74 |
|
---|
75 | /* Disable the extensions that are not currently supported */
|
---|
76 | #undef BEZIER
|
---|
77 | #undef PEXEXT
|
---|
78 | #undef MULTIBUFFER
|
---|
79 | #undef XV
|
---|
80 | #undef XIE
|
---|
81 | #undef DBE
|
---|
82 | #undef XF86VIDMODE
|
---|
83 | #undef XF86MISC
|
---|
84 | #undef XFreeXDGA
|
---|
85 | #undef XF86DRI
|
---|
86 | #undef TOGCUP
|
---|
87 | #undef MITMISC
|
---|
88 | #undef SCREENSAVER
|
---|
89 | #undef RANDR
|
---|
90 | #undef XFIXES
|
---|
91 | #undef DAMAGE
|
---|
92 | #undef COMPOSITE
|
---|
93 | #undef FONTCACHE
|
---|
94 |
|
---|
95 | #endif /* DMX_CONFIG_H */
|
---|