]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
Set a sane default if --with-dev-headers is given without path
authorMartin Willi <martin@revosec.ch>
Thu, 12 Jul 2012 06:39:54 +0000 (08:39 +0200)
committerMartin Willi <martin@revosec.ch>
Thu, 12 Jul 2012 06:39:54 +0000 (08:39 +0200)
configure.in

index 91993acaa4a98c6c091a7663f54e790cce622361..90683c89563c457144941689039afac001437d24 100644 (file)
@@ -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"