Commit 1b6fa0298ac691640a793e64ab2853ecfd5bba1a

Ran Benita 2017-07-29T22:41:26

build: explain why we don't AC_DEFINE a couple of constants Signed-off-by: Ran Benita <ran234@gmail.com>

1
2
3
4
5
6
7
8
9
10
11
12
13
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)"' \