c3c1185d56
Preserves optionality of libmnl by letting configuration script follow the HAVE_MNL environment variable. Signed-off-by: Russell Senior <russell@personaltelco.net>
11 lines
236 B
Diff
11 lines
236 B
Diff
--- a/configure
|
|
+++ b/configure
|
|
@@ -292,7 +292,7 @@ check_selinux()
|
|
|
|
check_mnl()
|
|
{
|
|
- if ${PKG_CONFIG} libmnl --exists
|
|
+ if [ "${HAVE_MNL}" = "y" ] && ${PKG_CONFIG} libmnl --exists
|
|
then
|
|
echo "HAVE_MNL:=y" >>$CONFIG
|
|
echo "yes"
|