summaryrefslogtreecommitdiffstats
path: root/src/conf_macros.m4
diff options
context:
space:
mode:
Diffstat (limited to 'src/conf_macros.m4')
-rw-r--r--src/conf_macros.m47
1 files changed, 3 insertions, 4 deletions
diff --git a/src/conf_macros.m4 b/src/conf_macros.m4
index 5898bc7f1..d759c48e9 100644
--- a/src/conf_macros.m4
+++ b/src/conf_macros.m4
@@ -240,15 +240,14 @@ AC_DEFUN([WITH_SEMANAGE],
AC_DEFUN([WITH_LIBNL],
[ AC_ARG_WITH([libnl],
[AC_HELP_STRING([--with-libnl],
- [Whether to build with libnetlink support [yes]]
+ [Whether to build with libnetlink support [AUTO]]
)
],
[],
with_libnl=yes
)
if test x"$with_libnl" = xyes; then
- HAVE_LIBNL=1
- AC_SUBST(HAVE_LIBNL)
- AC_DEFINE_UNQUOTED(HAVE_LIBNL, 1, [Build with libnetlink support])
+ BUILD_LIBNL=1
+ AC_SUBST(BUILD_LIBNL)
fi
])