[ltt-dev] [URCU PATCH] Add a pkg-config file for the new liburcu-cds

Yannick Brosseau yannick.brosseau at gmail.com
Fri Jun 10 17:22:40 EDT 2011


Signed-off-by: Yannick Brosseau <yannick.brosseau at gmail.com>
---
 Makefile.am       |    4 ++--
 configure.ac      |    1 +
 liburcu-cds.pc.in |   11 +++++++++++
 3 files changed, 14 insertions(+), 2 deletions(-)
 create mode 100644 liburcu-cds.pc.in

diff --git a/Makefile.am b/Makefile.am
index 3c06a2e..6409323 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -59,5 +59,5 @@ liburcu_bp_la_LIBADD = -lurcu-cds
 liburcu_bp_la_DEPENDENCIES = liburcu-cds.la
 
 pkgconfigdir = $(libdir)/pkgconfig
-pkgconfig_DATA = liburcu.pc liburcu-bp.pc liburcu-qsbr.pc \
-	liburcu-signal.pc liburcu-mb.pc 
+pkgconfig_DATA = liburcu-cds.pc liburcu.pc liburcu-bp.pc liburcu-qsbr.pc \
+	liburcu-signal.pc liburcu-mb.pc
diff --git a/configure.ac b/configure.ac
index a885fd9..21d6fab 100644
--- a/configure.ac
+++ b/configure.ac
@@ -246,6 +246,7 @@ AC_CONFIG_LINKS([
 AC_CONFIG_FILES([
 	Makefile
 	tests/Makefile
+	liburcu-cds.pc
 	liburcu.pc
 	liburcu-bp.pc
 	liburcu-qsbr.pc
diff --git a/liburcu-cds.pc.in b/liburcu-cds.pc.in
new file mode 100644
index 0000000..e3d13af
--- /dev/null
+++ b/liburcu-cds.pc.in
@@ -0,0 +1,11 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: Userspace RCU Concurrent Data Structures
+Description: Data structures leveraging RCU and atomic operations to provide efficient concurrency-aware storage
+Version: @PACKAGE_VERSION@
+Requires:
+Libs: -L${libdir} -lurcu-cds
+Cflags: -I${includedir} 
-- 
1.7.5.4





More information about the lttng-dev mailing list