diff options
author | Martin Sustrik <sustrik@fastmq.com> | 2009-09-08 15:11:19 +0200 |
---|---|---|
committer | Martin Sustrik <sustrik@fastmq.com> | 2009-09-08 15:11:19 +0200 |
commit | dadfd243649fbde768a24c677fa952f90d00589d (patch) | |
tree | d70543c48ada79bd8e0fd355ac9e95496b6621f4 | |
parent | ef34c94c3a9cbda87b0a4512ec56415b023aff0b (diff) | |
parent | 844b590b5e348d8513ed574f6548cc0be41574af (diff) |
Merge branch 'master' of github.com:sustrik/zeromq2
-rw-r--r-- | configure.in | 2 | ||||
-rw-r--r-- | src/Makefile.am | 2 | ||||
-rw-r--r-- | src/libzmq.pc.in | 10 |
3 files changed, 13 insertions, 1 deletions
diff --git a/configure.in b/configure.in index c5c521a..172b74a 100644 --- a/configure.in +++ b/configure.in @@ -372,7 +372,7 @@ AC_CHECK_FUNCS(perror gettimeofday memset socket getifaddrs freeifaddrs) AC_OUTPUT(Makefile src/Makefile python/Makefile python/setup.py ruby/Makefile \ java/Makefile perf/Makefile perf/c/Makefile perf/cpp/Makefile \ - perf/python/Makefile perf/ruby/Makefile perf/java/Makefile) + perf/python/Makefile perf/ruby/Makefile perf/java/Makefile src/libzmq.pc) AC_MSG_RESULT([]) AC_MSG_RESULT([ ******************************************************** ]) diff --git a/src/Makefile.am b/src/Makefile.am index 6bc5fb6..83670f2 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,5 +1,7 @@ lib_LTLIBRARIES = libzmq.la +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = libzmq.pc if BUILD_CPP include_HEADERS = ../cpp/zmq.hpp ../c/zmq.h diff --git a/src/libzmq.pc.in b/src/libzmq.pc.in new file mode 100644 index 0000000..ba155a3 --- /dev/null +++ b/src/libzmq.pc.in @@ -0,0 +1,10 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: libzmq +Description: 0MQ c++ library +Version: @VERSION@ +Libs: -L${libdir} -lzmq +Cflags: -I${includedir} |