summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorEgbert Eich <eich@freedesktop.org>2011-05-19 18:18:52 +0200
committerEgbert Eich <eich@freedesktop.org>2012-11-30 09:07:29 -0500
commit15d7f9cf9e089f5968a20f80529096e9a1d3551f (patch)
treefc9f395f5c86f19978d13ffcb6c4fd822092502d /configure.ac
parent690d6587e7e0ba29b70d2b1d6c5c6a128c5547a2 (diff)
Install ErrorDB into a $datarootdir-path, not $libdir.
This lets Xt search for it's ErrorDB in the same location as Xlib. These error databases are architecture independent data files. The XtErrorDB file neither exists in libXt nor has it ever been supplied by any '3rd party' (at least Google didn't turn up any results). Therefore changing the location of this file (again) should have no side effects on backward compatibility. Signed-off-by: Egbert Eich <eich@freedesktop.org> Reviewed-by: Gaetan Nadon <memsize@videotron.ca> Tested-by: Gaetan Nadon <memsize@videotron.ca>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index d15b326..c59cc26 100644
--- a/configure.ac
+++ b/configure.ac
@@ -162,6 +162,9 @@ case $host_os in
esac
AC_SUBST(STRINGSABIOPTIONS)
+ERRORDBDIR=${datadir}/X11
+AC_SUBST(ERRORDBDIR)
+
case $host_os in
darwin*)
OS_CFLAGS="-Wl,-flat_namespace"