--- a/configure
+++ b/configure
-@@ -281,7 +281,7 @@ check_selinux()
+@@ -254,7 +254,7 @@ check_selinux()
check_mnl()
{
-- if ${PKG_CONFIG} libmnl --exists
-+ if [ "${HAVE_MNL}" = "y" ] && ${PKG_CONFIG} libmnl --exists
- then
+- if ${PKG_CONFIG} libmnl --exists; then
++ if [ "${HAVE_MNL}" = "y" ] && ${PKG_CONFIG} libmnl --exists; then
echo "HAVE_MNL:=y" >>$CONFIG
echo "yes"
+