aboutsummaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorMartin Willi <martin@revosec.ch>2012-07-11 11:16:31 +0200
committerMartin Willi <martin@revosec.ch>2012-07-11 11:16:31 +0200
commitb188f23199293951138f05f0604a123c3437b6f1 (patch)
treef584ba1b9d0eac8789835774fbcfc9da5f0f8ba6 /configure.in
parent2a6bcbbdee4935602ff04612c145e7633467733f (diff)
downloadstrongswan-b188f23199293951138f05f0604a123c3437b6f1.tar.bz2
strongswan-b188f23199293951138f05f0604a123c3437b6f1.tar.xz
Install dev headers only if --with-dev-headers= option is set
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index fc96929f5..79ede656d 100644
--- a/configure.in
+++ b/configure.in
@@ -46,6 +46,7 @@ ARG_WITH_SUBST([ipsec-script], [ipsec], [change the name of the ipsec scri
ARG_WITH_SET([capabilities], [no], [set capability dropping library. Currently supported values are "libcap" and "native"])
ARG_WITH_SET([mpz_powm_sec], [yes], [use the more side-channel resistant mpz_powm_sec in libgmp, if available])
+ARG_WITH_SET([dev-headers], [no], [install strongSwan development headers to directory.])
if test -n "$PKG_CONFIG"; then
systemdsystemunitdir_default=$($PKG_CONFIG --variable=systemdsystemunitdir systemd)
@@ -784,6 +785,9 @@ if test x$integrity_test = xtrue; then
)
fi
+AM_CONDITIONAL(USE_DEV_HEADERS, [test "x$dev_headers" != xno])
+AC_SUBST(dev_headers)
+
CFLAGS="$CFLAGS -include `pwd`/config.h"
dnl ==============================================