Install dev headers only if --with-dev-headers= option is set

This commit is contained in:
Martin Willi
2012-07-11 11:16:31 +02:00
parent 2a6bcbbdee
commit b188f23199
5 changed files with 15 additions and 3 deletions
+3 -1
View File
@@ -7,8 +7,10 @@ libtls_la_SOURCES = \
tls_crypto.c tls_prf.c tls_socket.c tls_eap.c tls_cache.c tls_peer.c \
tls_server.c tls.c
tls_includedir = $(includedir)/strongswan/tls
if USE_DEV_HEADERS
tls_includedir = ${dev_headers}/tls
nobase_tls_include_HEADERS = \
tls_protection.h tls_compression.h tls_fragmentation.h tls_alert.h \
tls_crypto.h tls_prf.h tls_socket.h tls_eap.h tls_cache.h tls_peer.h \
tls_server.h tls_handshake.h tls_application.h tls.h
endif