summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin E Martin <kem@kem.org>2005-12-07 16:17:58 +0000
committerKevin E Martin <kem@kem.org>2005-12-07 16:17:58 +0000
commit8113fde1cc66413534f82820c363f7a142ca7b08 (patch)
treee86685062f076433451d091f976791627d831468
parent81d4322158703bcccc10040984a48db852e489c4 (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 f05d50a..7492ea6 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 e5396d7..7608eaf 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -44,7 +44,7 @@ appman_PRE = \
# App default files (*.ad)
-appdefaultdir = $(libdir)/X11/app-defaults
+appdefaultdir = @appdefaultdir@
APPDEFAULTFILES = \
Editres-color \
diff --git a/configure.ac b/configure.ac
index 33dffc6..5a5ee97 100644
--- a/configure.ac
+++ b/configure.ac
@@ -40,6 +40,10 @@ EDITRES_LIBS="$DEP_LIBS $XAW_LIBS"
AC_SUBST(EDITRES_CFLAGS)
AC_SUBST(EDITRES_LIBS)
+PKG_CHECK_MODULES(APPDEFS, xt)
+appdefaultdir=$(pkg-config --variable=appdefaultdir xt)
+AC_SUBST(appdefaultdir)
+
XORG_MANPAGE_SECTIONS
XORG_RELEASE_VERSION