summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMartin Lucina <martin@lucina.net>2012-02-22 03:22:50 +0100
committerMartin Lucina <martin@lucina.net>2012-02-22 03:22:50 +0100
commit80ff947f1406e1d33b80de4f2378db8e6d13bc58 (patch)
tree613d384a3571e3ef60b7781c17612ddbecc7462a /src
parentc80d79f6faca9ff9435c8184f3511bbc5333dc6f (diff)
Ensure libzmq.pc is installed if required
Signed-off-by: Martin Lucina <martin@lucina.net>
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 0d25a7c..3439f4b 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,13 +1,10 @@
+pkgconfigdir = $(libdir)/pkgconfig
+
if BUILD_LIBZMQ
lib_LTLIBRARIES = libxs.la libxszmq.la libzmq.la
-else
-lib_LTLIBRARIES = libxs.la libxszmq.la
-endif
-pkgconfigdir = $(libdir)/pkgconfig
-pkgconfig_DATA = libxs.pc libxszmq.pc
+pkgconfig_DATA = libxs.pc libxszmq.pc libzmq.pc
-if BUILD_LIBZMQ
include_HEADERS = ../include/xs.h ../include/xs_utils.h \
../include/xszmq.h ../include/xszmq_utils.h \
../include/zmq.h ../include/zmq_utils.h
@@ -21,6 +18,10 @@ include_HEADERS = ../include/xs.h ../include/xs_utils.h \
distclean-local:
-rm -f ../include/zmq.h ../include/zmq_utils.h
else
+lib_LTLIBRARIES = libxs.la libxszmq.la
+
+pkgconfig_DATA = libxs.pc libxszmq.pc
+
include_HEADERS = ../include/xs.h ../include/xs_utils.h \
../include/xszmq.h ../include/xszmq_utils.h
endif