# --with-libnetlink {{{
with_libnetlink_cflags=""
-with_libnetlink_libs="-lnetlink"
-AC_ARG_WITH(libnetlink, [AS_HELP_STRING([--with-libnetlink@<:@=PREFIX@:>@], [Path to libnetlink.])],
+with_libnetlink_libs="-lmnl"
+AC_ARG_WITH(libnetlink, [AS_HELP_STRING([--with-libnetlink@<:@=PREFIX@:>@], [Path to libmnl.])],
[
echo "libnetlink: withval = $withval"
if test "x$withval" = "xyes"
if test -d "$withval/include"
then
with_libnetlink_cflags="-I$withval/include"
- with_libnetlink_libs="-L$withval/lib -lnetlink"
+ with_libnetlink_libs="-L$withval/lib -lmnl"
with_libnetlink="yes"
else
AC_MSG_ERROR("no such directory: $withval/include")