diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | configure.ac | 1 | ||||
-rw-r--r-- | wocky/Makefile.am | 5 | ||||
-rw-r--r-- | wocky/wocky-uninstalled.pc.in | 1 | ||||
-rw-r--r-- | wocky/wocky.pc.in | 11 |
5 files changed, 18 insertions, 1 deletions
@@ -75,6 +75,7 @@ m4/lt~obsolete.m4 wocky/*-signals-marshal.* wocky/*-enumtypes.* wocky/wocky-uninstalled.pc +wocky/wocky.pc tests/sasl-test.db tests/test-report.xml diff --git a/configure.ac b/configure.ac index b770130..cd01bca 100644 --- a/configure.ac +++ b/configure.ac @@ -243,6 +243,7 @@ GTK_DOC_CHECK([1.17],[--flavour no-tmpl]) AC_OUTPUT( Makefile \ wocky/Makefile \ wocky/wocky-uninstalled.pc \ + wocky/wocky.pc \ m4/Makefile \ tools/Makefile \ examples/Makefile \ diff --git a/wocky/Makefile.am b/wocky/Makefile.am index 868fb09..77acbb6 100644 --- a/wocky/Makefile.am +++ b/wocky/Makefile.am @@ -178,6 +178,11 @@ libwocky_la_SOURCES = $(handwritten_sources) $(built_sources) \ if INSTALL_HEADERS libwocky_la_HEADERS = $(handwritten_headers) $(built_headers) libwocky_ladir = $(HEADER_DIR)/wocky + +if ENABLE_SHARED_SUFFIX + pkgconfigdir = ${libdir}/pkgconfig + pkgconfig_DATA = wocky.pc +endif endif # Coding style checks diff --git a/wocky/wocky-uninstalled.pc.in b/wocky/wocky-uninstalled.pc.in index fb286a9..429a256 100644 --- a/wocky/wocky-uninstalled.pc.in +++ b/wocky/wocky-uninstalled.pc.in @@ -6,7 +6,6 @@ abs_top_builddir=@abs_top_builddir@ Name: Wocky (uninstalled copy) Description: XMPP library Version: @VERSION@ -Requires: pkg-config >= 0.21 Requires.private: glib-2.0 >= 2.16, gobject-2.0 >= 2.16, gio-2.0 >= 2.26 Libs: ${abs_top_builddir}/wocky/libwocky.la Cflags: -I${abs_top_srcdir} -I${abs_top_builddir} -I${abs_top_builddir}/wocky diff --git a/wocky/wocky.pc.in b/wocky/wocky.pc.in new file mode 100644 index 0000000..874ecf6 --- /dev/null +++ b/wocky/wocky.pc.in @@ -0,0 +1,11 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: Wocky +Description: XMPP library +Version: @VERSION@ +Requires.private: glib-2.0 >= 2.16, gobject-2.0 >= 2.16, gio-2.0 >= 2.26 +Libs: -L${libdir} -lwocky +Cflags: -I@HEADER_DIR@ |