Set a sane default if --with-dev-headers is given without path

This commit is contained in:
Martin Willi 2012-07-12 08:39:54 +02:00
parent 3f6392bc14
commit bbe5b50567
1 changed files with 3 additions and 0 deletions

View 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"