diff --git a/CMakeLists.txt b/CMakeLists.txt index ebe4d89d..e0e06d19 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -509,7 +509,8 @@ if (MINGW) endif () include_directories (include ${CMAKE_CURRENT_BINARY_DIR}) -set (public_headers include/zmq.h) +set (public_headers include/zmq.h + include/zmq_utils.h) set (readme-docs AUTHORS COPYING diff --git a/Makefile.am b/Makefile.am index 65bf383f..4bd07831 100644 --- a/Makefile.am +++ b/Makefile.am @@ -16,7 +16,8 @@ AM_CPPFLAGS = \ lib_LTLIBRARIES = src/libzmq.la include_HEADERS = \ - include/zmq.h + include/zmq.h \ + include/zmq_utils.h src_libzmq_la_SOURCES = \ src/address.cpp \ diff --git a/include/zmq_utils.h b/include/zmq_utils.h index 99a32869..1856d62b 100644 --- a/include/zmq_utils.h +++ b/include/zmq_utils.h @@ -28,3 +28,5 @@ */ /* This file is deprecated, and all its functionality provided by zmq.h */ + +#warning zmq_utils.h is deprecated. All its functionality is provided by zmq.h. diff --git a/packaging/redhat/zeromq.spec.in b/packaging/redhat/zeromq.spec.in index 095a9860..be467cf9 100644 --- a/packaging/redhat/zeromq.spec.in +++ b/packaging/redhat/zeromq.spec.in @@ -120,6 +120,7 @@ This package contains ZeroMQ related development libraries and header files. %files devel %defattr(-,root,root,-) %{_includedir}/zmq.h +%{_includedir}/zmq_utils.h %{_libdir}/libzmq.la %{_libdir}/libzmq.a