[PATCH app-xman] config: update direct dependencies for xman
Gaetan Nadon
memsize at videotron.ca
Sun Aug 8 09:12:36 PDT 2010
Depends on xproto through the inclusion of X.h.
Depends on Xaw through the inclusion of List.h
Depends on Xmu through the inclusion of Xmu/Misc.h
Depends on Xt through the inclusion of Intrinsic.h
PKG_CHECK_MODULES calls AC_SUBST for CFLAGS and LIBS
Signed-off-by: Gaetan Nadon <memsize at videotron.ca>
---
configure.ac | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/configure.ac b/configure.ac
index 1fdbe7c..34270ff 100644
--- a/configure.ac
+++ b/configure.ac
@@ -66,8 +66,8 @@ if test x$LOCALMANPATH != x; then
[Default local man page search path (default: none)])
fi
-# Checks for pkg-config packages
-PKG_CHECK_MODULES(XMAN, xaw7)
+# Obtain compiler/linker options from depedencies
+PKG_CHECK_MODULES(XMAN, xproto xaw7 xmu xt)
AC_ARG_WITH(manconfig,
AC_HELP_STRING([--with-manconfig=<filename>],
@@ -129,8 +129,6 @@ if test x$MANCONF != x ; then
AC_MSG_ERROR([Could not determine man page file config format.])
esac
fi
-AC_SUBST(XMAN_CFLAGS)
-AC_SUBST(XMAN_LIBS)
PKG_CHECK_MODULES(APPDEFS, xt)
xt_appdefaultdir=`$PKG_CONFIG --variable=appdefaultdir xt`
--
1.6.0.4
I fixed the typo in xbutils patches "direct[s] dependencies"
More information about the xorg-devel
mailing list