Don't require libnl-devel, guess the path to it based on default location during...
[util-vserver.git] / configure
index d9e3794..e4939b2 100755 (executable)
--- a/configure
+++ b/configure
 
 
 ensc_have_libnl=yes
+LIBNL_ROOT=`echo ../libnl*/`
+if test -d "$LIBNL_ROOT"; then
+       CFLAGS="$CFLAGS -isystem $LIBNL_ROOT/include"
+       LDFLAGS="$LDFLAGS -L$LIBNL_ROOT/lib"
+fi
 
 if test x"$ensc_have_libnl" = xyes; then