From: Shanzhi Yu Date: Fri, 26 Sep 2014 05:50:13 +0000 (+0800) Subject: configure: improve misleading libnl3-devel missing error message X-Git-Tag: v1.2.10-rc1~144 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9cf6dd00ce5a8518a04d961d0d0206f5f2e81acf;p=thirdparty%2Flibvirt.git configure: improve misleading libnl3-devel missing error message When building libvirt from source with netcf-devel installed, the configure script reports error "libnl-devel >=3.0 is required for macvtap support", while actually libnl3-devel is required. Signed-off-by: Shanzhi Yu --- diff --git a/configure.ac b/configure.ac index ec9d028e8f..f7b02ff80e 100644 --- a/configure.ac +++ b/configure.ac @@ -2613,7 +2613,11 @@ if test "$with_linux" = "yes"; then [whether the netlink v1 library is available]) ], [ if test "$with_macvtap" = "yes"; then - AC_MSG_ERROR([libnl-devel >= $LIBNL_REQUIRED is required for macvtap support]) + if test "$LIBNL_REQUIRED" = "3.0";then + AC_MSG_ERROR([libnl3-devel >= $LIBNL_REQUIRED is required for macvtap support]) + else + AC_MSG_ERROR([libnl-devel >= $LIBNL_REQUIRED is required for macvtap support]) + fi fi ]) fi