summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin E Martin <kem@kem.org>2005-11-19 07:15:42 +0000
committerKevin E Martin <kem@kem.org>2005-11-19 07:15:42 +0000
commit6bec0a9cfbdbe8757013b89e8ff31f32a5735cef (patch)
tree33d3cf1089c012f201227e980bba1bf0f2675c99
parent88b998bb67ae50889b31b0432480c7a4c59b38b9 (diff)
Update pkgconfig files to separate library build-time dependencies from
application build-time dependencies, and update package deps to work with separate build roots.
-rw-r--r--ChangeLog8
-rw-r--r--configure.ac2
-rw-r--r--xprintapputil.pc.in7
3 files changed, 13 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index b1e6788..99651fe 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2005-11-19 Kevin E. Martin <kem-at-freedesktop-dot-org>
+
+ * xprintapputil.pc.in:
+ Update pkgconfig files to separate library build-time dependencies
+ from application build-time dependencies.
+ * configure.ac:
+ Update dependencies to work with separate build roots.
+
2005-10-18 Kevin E. Martin <kem-at-freedesktop-dot-org>
* configure.ac:
diff --git a/configure.ac b/configure.ac
index fd5a971..0b50a32 100644
--- a/configure.ac
+++ b/configure.ac
@@ -34,7 +34,7 @@ AC_PROG_CC
AC_PROG_LIBTOOL
# Check for dependencies
-PKG_CHECK_MODULES(XPRINTAPPUTIL, x11 xp xprintutil)
+PKG_CHECK_MODULES(XPRINTAPPUTIL, x11 xp xprintutil printproto xau)
AC_SUBST(XPRINTAPPUTIL_CFLAGS)
AC_SUBST(XPRINTAPPUTIL_LIBS)
diff --git a/xprintapputil.pc.in b/xprintapputil.pc.in
index c9a7450..1cfa692 100644
--- a/xprintapputil.pc.in
+++ b/xprintapputil.pc.in
@@ -6,6 +6,7 @@ includedir=@includedir@
Name: XprintAppUtil
Description: The XprintAppUtil Library
Version: @PACKAGE_VERSION@
-Cflags: -I${includedir} @XPRINTAPPUTIL_CFLAGS@
-Libs: -L${libdir} -lXprintAppUtil @XPRINTAPPUTIL_LIBS@
-
+Requires: xproto x11 xprintutil
+Requires.private: x11 xp xprintutil
+Cflags: -I${includedir}
+Libs: -L${libdir} -lXprintAppUtil