aboutsummaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorMartin Willi <martin@revosec.ch>2012-07-12 08:39:54 +0200
committerMartin Willi <martin@revosec.ch>2012-07-12 08:39:54 +0200
commitbbe5b50567e6a507ca063c41540ddfec8684c271 (patch)
tree97f1dfc8554d0e65969fdfeb6e5d4b7f99619d79 /configure.in
parent3f6392bc1467777acca138da923eb9ce60204a1e (diff)
downloadstrongswan-bbe5b50567e6a507ca063c41540ddfec8684c271.tar.bz2
strongswan-bbe5b50567e6a507ca063c41540ddfec8684c271.tar.xz
Set a sane default if --with-dev-headers is given without path
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 91993acaa..90683c895 100644
--- a/configure.in
+++ b/configure.in
@@ -786,6 +786,9 @@ if test x$integrity_test = xtrue; then
fi
AM_CONDITIONAL(USE_DEV_HEADERS, [test "x$dev_headers" != xno])
+if test x$dev_headers = xyes; then
+ dev_headers="$includedir/strongswan"
+fi
AC_SUBST(dev_headers)
CFLAGS="$CFLAGS -include `pwd`/config.h"