From: Michael Olbrich Date: Wed, 29 Jan 2014 09:17:52 +0100 Subject: [PATCH] configure.ac: allow specifying path for libnl3 --- configure.ac | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index da2f940da963..8a3ab56d865c 100644 --- a/configure.ac +++ b/configure.ac @@ -511,7 +511,11 @@ linux) AC_DEFINE(HAVE_LIBNL_3_x,1,[if libnl exists and is version 3.x]) AC_DEFINE(HAVE_LIBNL_NLE,1,[libnl has NLE_FAILURE]) AC_DEFINE(HAVE_LIBNL_SOCKETS,1,[libnl has new-style socket api]) - V_INCLS="$V_INCLS ${incdir}" + if test x$with_libnl != xyes ; then + V_INCLS="$V_INCLS -I${with_libnl}/include/libnl3" + else + V_INCLS="$V_INCLS ${incdir}" + fi have_any_nl="yes" ],[], ${incdir} ${libnldir} -lnl-genl-3 -lnl-3 )