[libvirt] [PATCH] configure: improve misleading libnl3-devel missing error message
Michal Privoznik
mprivozn at redhat.com
Fri Oct 3 14:18:02 UTC 2014
On 26.09.2014 07:50, Shanzhi Yu wrote:
> When build libvirt from source with netcf-devel installed, it
> will report error "libnl-devel >=3.0 is required for macvtap
> support", actually it requires libnl3-devel
>
> Signed-off-by: Shanzhi Yu <shyu at redhat.com>
> ---
> configure.ac | 6 +++++-
> 1 file changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/configure.ac b/configure.ac
> index 0062d5d..5b0820a 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
>
ACKed & merged.
Michal
More information about the libvir-list
mailing list