summaryrefslogtreecommitdiff
path: root/meson_options.txt
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2023-06-20 15:46:23 -0700
committerDylan Baker <dylan@pnwbakers.com>2023-07-13 15:26:17 -0700
commit68e74d37b99f56bbd1a5f2fb8cb4ad6116f27bd3 (patch)
treeaab43287eff02394981c905bfef7b30f7d8fdb60 /meson_options.txt
parentdf1bf4fe528a5a9eef420f78efb225e4696ac467 (diff)
add Meson build system
This is, I think, equal to the autotools build-system in every practical way. The man pages have hardcoded numbers. I think this is okay, as all modern operating systems seem to use the same man page numbering now. I've also chosen to not generate a config.h file with Meson. This makes using libXau as a subproject safer, since we don't have to worry about conflicting config.h files, plus there are only a couple of declarations that are actually used. This also saves some configure time in writing out an additional file.
Diffstat (limited to 'meson_options.txt')
-rw-r--r--meson_options.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt
new file mode 100644
index 0000000..42f9cc2
--- /dev/null
+++ b/meson_options.txt
@@ -0,0 +1,9 @@
+# SPDX-License-Identifier: MIT
+# Copyright © 2023 Intel Corporation
+
+option(
+ 'xthreads',
+ type : 'boolean',
+ value : true,
+ description : 'Whether libXau should be compiled with thread support.'
+) \ No newline at end of file