From: Andreas Henriksson Date: Mon, 10 Jun 2013 20:42:43 +0000 (+0200) Subject: Update configure script to link with -lmnl X-Git-Tag: collectd-5.4.0~11^2~15 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=3d046b8b6e2bfd8e2d2cd52331eba2ff9b718861;p=collectd.git Update configure script to link with -lmnl --- diff --git a/configure.in b/configure.in index 27c6cd31..75ee2ea4 100644 --- a/configure.in +++ b/configure.in @@ -2503,8 +2503,8 @@ AM_CONDITIONAL(BUILD_WITH_LIBMYSQL, test "x$with_libmysql" = "xyes") # --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" @@ -2517,7 +2517,7 @@ AC_ARG_WITH(libnetlink, [AS_HELP_STRING([--with-libnetlink@<:@=PREFIX@:>@], [Pat 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")