summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin E Martin <kem@kem.org>2005-12-07 16:17:59 +0000
committerKevin E Martin <kem@kem.org>2005-12-07 16:17:59 +0000
commitd82f94100bd454d3298c6548173827a67cb4d7ad (patch)
tree68b62cc677ebbf8b0fdf3d25a835e25a68647642
parentc681eac9a17d8d3f16efa2a992b02972cfa71926 (diff)
Change to use the app-defaults default dir configured in libXt.MODULAR_COPY
-rw-r--r--ChangeLog6
-rw-r--r--Makefile.am2
-rw-r--r--configure.ac4
3 files changed, 11 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index cf725ef..81261d5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2005-12-07 Kevin E. Martin <kem-at-freedesktop-dot-org>
+
+ * Makefile.am:
+ * configure.ac:
+ Change to use the app-defaults default dir configured in libXt.
+
2005-12-06 Kevin E. Martin <kem-at-freedesktop-dot-org>
* Makefile.am:
diff --git a/Makefile.am b/Makefile.am
index c0671ae..de2cd2d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -32,7 +32,7 @@ appman_PRE = \
# App default files (*.ad)
-appdefaultdir = $(libdir)/X11/app-defaults
+appdefaultdir = @appdefaultdir@
APPDEFAULTFILES = \
diff --git a/configure.ac b/configure.ac
index c874706..22a0f64 100644
--- a/configure.ac
+++ b/configure.ac
@@ -36,6 +36,10 @@ XAW_CHECK_XPRINT_SUPPORT(XCONSOLE)
AC_SUBST(XCONSOLE_CFLAGS)
AC_SUBST(XCONSOLE_LIBS)
+PKG_CHECK_MODULES(APPDEFS, xt)
+appdefaultdir=$(pkg-config --variable=appdefaultdir xt)
+AC_SUBST(appdefaultdir)
+
XORG_MANPAGE_SECTIONS
XORG_RELEASE_VERSION