From 5b8567919d3bf80baced7df9380ccf217331c91d Mon Sep 17 00:00:00 2001 From: "Christoph J. Thompson" Date: Tue, 16 Apr 2013 12:58:33 +0200 Subject: Install a pkgconfig .pc file. This allows external plugins to find where the header file is located, where Hexchat expects to find plugins so it can load them at startup and which version of Hexchat is installed. The path where pkgconfig files are stored is determined by a macro available in newer versions of pkgconfig which can be overridden by the --with-pkgconfig= configure switch. However, if this macro is unavailable (older versions of pkgconfig) then m4ifdef will make it fallback to simply use ${libdir}/pkgconfig (which is the default). modified: configure.ac modified: share/Makefile.am new file: share/pkgconfig/Makefile.am new file: share/pkgconfig/hexchat-plugin.pc.in --- share/pkgconfig/Makefile.am | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 share/pkgconfig/Makefile.am (limited to 'share/pkgconfig/Makefile.am') diff --git a/share/pkgconfig/Makefile.am b/share/pkgconfig/Makefile.am new file mode 100644 index 00000000..7ee0ac95 --- /dev/null +++ b/share/pkgconfig/Makefile.am @@ -0,0 +1,4 @@ +pkgcfgdir = $(pkgconfigdir) +pkgcfg_DATA = hexchat-plugin.pc + +EXTRA_DIST = hexchat-plugin.pc.in -- cgit 1.4.1