summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorRan Benita <ran234@gmail.com>2017-07-29 22:41:26 +0300
committerRan Benita <ran234@gmail.com>2017-07-31 15:55:48 +0300
commit1b6fa0298ac691640a793e64ab2853ecfd5bba1a (patch)
tree40219e49013ea8681e30d4c0a8a67ede77b28542 /Makefile.am
parentdaebdb5e08a76426c5c4dd59c187cfa45ef1d98b (diff)
downloadxorg-lib-libxkbcommon-1b6fa0298ac691640a793e64ab2853ecfd5bba1a.tar.gz
build: explain why we don't AC_DEFINE a couple of constants
Signed-off-by: Ran Benita <ran234@gmail.com>
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 8a12b43..a9d84d4 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -19,6 +19,8 @@ EXTRA_DIST = \
LICENSE \
test/symbols-leak-test.bash
+# The constants are added here instead of using AC_DEFINE_UNQUOTED
+# because it does not expand variables recursively.
AM_CPPFLAGS = \
-DDFLT_XKB_CONFIG_ROOT='"$(XKBCONFIGROOT)"' \
-DXLOCALEDIR='"$(XLOCALEDIR)"' \