diff options
-rwxr-xr-x | configure | 2 | ||||
-rw-r--r-- | configure.ac | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -6992,7 +6992,7 @@ else # # No, we don't have libnl at all. # - if test x$with_libnl = xyes ; then + if test x$with_libnl != xno ; then as_fn_error $? "libnl support requested but libnl not found" "$LINENO" 5 fi diff --git a/configure.ac b/configure.ac index e07d1a92..30a6c1b4 100644 --- a/configure.ac +++ b/configure.ac @@ -915,7 +915,7 @@ linux) # # No, we don't have libnl at all. # - if test x$with_libnl = xyes ; then + if test x$with_libnl != xno ; then AC_MSG_ERROR([libnl support requested but libnl not found]) fi ], ${incdir} ${libnldir} -lnl-genl-3 -lnl-3 ) |