summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2005-07-08 06:57:06 +0000
committerKeith Packard <keithp@keithp.com>2005-07-08 06:57:06 +0000
commit86fa88dc594ca2093030acf5c84973ee2b33eb4c (patch)
tree441230c7d33edb0c5f0d7103fdf51cd9b7e0dd1a /include
parent30f6ffedeaf899e699f0c6b14c9471ce9bcc430c (diff)
Create and install XlibConf.h to provide external users of Xlibint.h the defines necessary to correctly use the library. Xlibint.h should #include this new file.
Add a bunch of .cvsignore files
Diffstat (limited to 'include')
-rw-r--r--include/Makefile.am6
-rw-r--r--include/X11/XlibConf.h.in39
2 files changed, 44 insertions, 1 deletions
diff --git a/include/Makefile.am b/include/Makefile.am
index c04e4850..3786d910 100644
--- a/include/Makefile.am
+++ b/include/Makefile.am
@@ -9,4 +9,8 @@ x11include_HEADERS=\
X11/Xutil.h \
X11/cursorfont.h \
X11/region.h \
- X11/ImUtil.h
+ X11/ImUtil.h \
+ X11/XlibConf.h
+
+EXTRA_DIST=\
+ X11/XlibConf.h.in
diff --git a/include/X11/XlibConf.h.in b/include/X11/XlibConf.h.in
new file mode 100644
index 00000000..56f80d9a
--- /dev/null
+++ b/include/X11/XlibConf.h.in
@@ -0,0 +1,39 @@
+/*
+ * $Id: $
+ *
+ * Copyright © 2005 Keith Packard
+ *
+ * Permission to use, copy, modify, distribute, and sell this software and its
+ * documentation for any purpose is hereby granted without fee, provided that
+ * the above copyright notice appear in all copies and that both that
+ * copyright notice and this permission notice appear in supporting
+ * documentation, and that the name of Keith Packard not be used in
+ * advertising or publicity pertaining to distribution of the software without
+ * specific, written prior permission. Keith Packard makes no
+ * representations about the suitability of this software for any purpose. It
+ * is provided "as is" without express or implied warranty.
+ *
+ * KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
+ * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
+ * EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR
+ * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
+ * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
+ * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
+ * PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#ifndef _XLIBCONF_H_
+#define _XLIBCONF_H_
+/*
+ * This header file exports defines necessary to correctly
+ * use Xlibint.h both inside Xlib and by external libraries
+ * such as extensions.
+ */
+
+/* Threading support? */
+#undef XTHREADS
+
+/* Use multi-threaded libc functions? */
+#undef XUSE_MTSAFE_API
+
+#endif /* _XLIBCONF_H_ */