From: Paresh Chaudhary <paresh.chaudh...@rockwellcollins.com> Install "libvici.h" if --with-dev-headers is configured. Strongswan currently installs other development headers using this method.
The libvici plugin provides a stable low-level C API to exchange messages using the VICI protocol. This allows a user to write standalone applications based on 'libvici' functions, 'libvici.h' header file is required to link all functions at compile time. Original discussion and commit: https://wiki.strongswan.org/projects/strongswan/repository/revisions/01c2b62362df88a03c53b748bb4e88631410f326 Signed-off-by: Paresh Chaudhary <paresh.chaudh...@rockwellcollins.com> Signed-off-by: Matt Weber <matthew.we...@rockwellcollins.com> --- src/libcharon/plugins/vici/Makefile.am | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/libcharon/plugins/vici/Makefile.am b/src/libcharon/plugins/vici/Makefile.am index e8bcdba..6b11ff1 100644 --- a/src/libcharon/plugins/vici/Makefile.am +++ b/src/libcharon/plugins/vici/Makefile.am @@ -42,7 +42,12 @@ libvici_la_SOURCES = \ vici_message.c vici_message.h \ vici_builder.c vici_builder.h \ vici_cert_info.h vici_cert_info.c \ - libvici.c libvici.h + libvici.c + +if USE_DEV_HEADERS +vici_includedir = ${dev_headers} +nobase_vici_include_HEADERS = libvici.h +endif libvici_la_LIBADD = $(top_builddir)/src/libstrongswan/libstrongswan.la -- 1.9.1