diff options
-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} |