From af3cf72277abea12541117e7acc9867a7ad48cb7 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 40fefd1..702da71 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 a484d98..d945683 100644 --- a/Makefile.am +++ b/Makefile.am @@ -150,7 +150,7 @@ chooser_SOURCES = \ # App default files (*.ad) -appdefaultdir = $(libdir)/X11/app-defaults +appdefaultdir = @appdefaultdir@ APPDEFAULTFILES = Chooser diff --git a/configure.ac b/configure.ac index 2e6768f..44b72be 100644 --- a/configure.ac +++ b/configure.ac @@ -459,6 +459,10 @@ AC_DEFINE_DIR(DEF_AUTH_DIR, XDMCONFIGDIR, AC_DEFINE_DIR(DEF_GREETER_LIB, XDMLIBDIR/libXdmGreet.so, [Define to pathname where greeter shared object is installed (if used)]) +PKG_CHECK_MODULES(APPDEFS, xt) +appdefaultdir=$(pkg-config --variable=appdefaultdir xt) +AC_SUBST(appdefaultdir) + XORG_MANPAGE_SECTIONS XORG_RELEASE_VERSION -- cgit v1.2.3