[libxml++] Update pkg-config file
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libxml++] Update pkg-config file
- Date: Tue, 30 Mar 2010 14:09:09 +0000 (UTC)
commit ab991b3fe34ef69a0e5e657a96ee1bbc3d0cc631
Author: David King <davidk openismus com>
Date: Tue Mar 30 14:43:58 2010 +0200
Update pkg-config file
* libxml++-2.6.pc.in: Add documentation locations to pkg-config file.
Update other fields to use variables, rather than hardcoded values.
ChangeLog | 7 +++++++
configure.ac | 3 ++-
libxml++-2.6.pc.in | 13 +++++++++----
3 files changed, 18 insertions(+), 5 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index b71402e..783ec27 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2010-03-30 David King <davidk openismus com>
+
+ Update pkg-config file
+
+ * libxml++-2.6.pc.in: Add documentation locations to pkg-config file.
+ Update other fields to use variables, rather than hardcoded values.
+
=== 2.30.0 ===
2010-03-30 David King <davidk openismus com>
diff --git a/configure.ac b/configure.ac
index 8374094..16dbfbf 100644
--- a/configure.ac
+++ b/configure.ac
@@ -23,7 +23,8 @@ AC_PROG_CXX
LT_PREREQ([2.2.6])
LT_INIT([dlopen win32-dll disable-static])
-PKG_CHECK_MODULES([LIBXMLXX], [libxml-2.0 >= 2.6.1 glibmm-2.4 >= 2.4.0])
+AC_SUBST([LIBXMLXX_MODULES], ['libxml-2.0 >= 2.6.1 glibmm-2.4 >= 2.4.0'])
+PKG_CHECK_MODULES([LIBXMLXX], [$LIBXMLXX_MODULES])
AC_LANG([C++])
AC_CHECK_HEADERS([string list map], [], [AC_MSG_ERROR([required headers not found])])
diff --git a/libxml++-2.6.pc.in b/libxml++-2.6.pc.in
index 1c083c4..4d0c4cc 100644
--- a/libxml++-2.6.pc.in
+++ b/libxml++-2.6.pc.in
@@ -3,10 +3,15 @@ exec_prefix= exec_prefix@
libdir= libdir@
includedir= includedir@
+docdir=${datarootdir}/doc/@LIBXMLXX_MODULE_NAME@
+doxytagfile=${docdir}/reference/@LIBXMLXX_MODULE_NAME tag
+htmlrefdir=${docdir}/reference/html
+htmlrefpub=http://library.gnome.org/devel/@PACKAGE_TARNAME@/unstable/
+
Name: libxml++
Description: C++ wrapper for libxml
-Requires: libxml-2.0 glibmm-2.4
Version: @PACKAGE_VERSION@
-Libs: -L${libdir} -lxml++-2.6
-Cflags: -I${includedir}/libxml++-2.6 -I${libdir}/libxml++-2.6/include
-
+URL: http://libxmlplusplus.sourceforge.net/
+Requires: @LIBXMLXX_MODULES@
+Libs: -L${libdir} -lxml++- LIBXMLXX_API_VERSION@
+Cflags: -I${includedir}/@LIBXMLXX_MODULE_NAME@ -I${libdir}/@LIBXMLXX_MODULE_NAME@/include
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]