From d235b45cc12cbf9c04cf79e525033a3b0205c53d Mon Sep 17 00:00:00 2001 From: Kevin E Martin Date: Wed, 7 Dec 2005 16:17:59 +0000 Subject: Change to use the app-defaults default dir configured in libXt. --- ChangeLog | 6 ++++++ Makefile.am | 2 +- configure.ac | 4 ++++ 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index f05d50a..7492ea6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-12-07 Kevin E. Martin + + * Makefile.am: + * configure.ac: + Change to use the app-defaults default dir configured in libXt. + 2005-12-06 Kevin E. Martin * Makefile.am: diff --git a/Makefile.am b/Makefile.am index ffe8f28..e3bbe50 100644 --- a/Makefile.am +++ b/Makefile.am @@ -35,7 +35,7 @@ appman_PRE = \ # App default files (*.ad) -appdefaultdir = $(libdir)/X11/app-defaults +appdefaultdir = @appdefaultdir@ APPDEFAULTFILES = \ diff --git a/configure.ac b/configure.ac index 5d4d637..076b3c9 100644 --- a/configure.ac +++ b/configure.ac @@ -36,6 +36,10 @@ XAW_CHECK_XPRINT_SUPPORT(XFONTSEL) AC_SUBST(XFONTSEL_CFLAGS) AC_SUBST(XFONTSEL_LIBS) +PKG_CHECK_MODULES(APPDEFS, xt) +appdefaultdir=$(pkg-config --variable=appdefaultdir xt) +AC_SUBST(appdefaultdir) + XORG_MANPAGE_SECTIONS XORG_RELEASE_VERSION -- cgit v1.2.3