From fcc128516e3c3d81773fbdee76d684ad93cb5071 Mon Sep 17 00:00:00 2001 From: Thomas Graf Date: Fri, 23 Sep 2011 12:58:54 +0200 Subject: [PATCH] configure: Fix typo in libnl3 check Check for libnl3 sets $have_libnl2 variable instead of $have_libnl3. Mostly a cosmetic fix since the only usage also has the typo in it. Signed-off-by: Thomas Graf --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 57e3aea468..8b6782a025 100644 --- a/configure.ac +++ b/configure.ac @@ -314,8 +314,8 @@ fi AC_DEFINE_UNQUOTED(NO_CONSOLEKIT, $no_ck, [Define to disable use of ConsoleKit]) have_libnl="no" -PKG_CHECK_MODULES(LIBNL3, libnl-3.0, [have_libnl2=yes], [have_libnl2=no]) -if (test "${have_libnl2}" = "yes"); then +PKG_CHECK_MODULES(LIBNL3, libnl-3.0, [have_libnl3=yes], [have_libnl3=no]) +if (test "${have_libnl3}" = "yes"); then AC_DEFINE(HAVE_LIBNL3, 1, [Define if you require specific libnl-3 support]) LIBNL_CFLAGS="$LIBNL3_CFLAGS" LIBNL_LIBS="$LIBNL3_LIBS"