[libvirt] [PATCHv2 1/7] build: allow autoconf 2.59 again
Matthias Bolte
matthias.bolte at googlemail.com
Sat Dec 18 16:01:40 UTC 2010
2010/12/18 Eric Blake <eblake at redhat.com>:
> Autoconf 2.59 doesn't define ${localedir}, so libvirt was failing
> to compile due to a missing LOCALEDIR until today's configmake fix.
>
> * .gnulib: Update to latest for configmake fix.
> * configure.ac (libpcap): Avoid AS_CASE.
> ---
> .gnulib | 2 +-
> configure.ac | 10 +++++-----
> 2 files changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/.gnulib b/.gnulib
> index 980f9d2..3e464b4 160000
> --- a/.gnulib
> +++ b/.gnulib
> @@ -1 +1 @@
> -Subproject commit 980f9d2ceb43f9d86ea57db0367e569267c8571b
> +Subproject commit 3e464b4c6a6db9ca2e186b47fe2b72780bdd60e7
> diff --git a/configure.ac b/configure.ac
> index 558bb77..c44d024 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -1211,11 +1211,11 @@ LIBPCAP_FOUND="no"
>
> AC_ARG_WITH([libpcap], AC_HELP_STRING([--with-libpcap=@<:@PFX@:>@], [libpcap location]))
> if test "$with_qemu" = "yes"; then
> - AS_CASE(["x$with_libpcap"],
> - [xno], [LIBPCAP_CONFIG=""],
> - [x|xyes], [LIBPCAP_CONFIG="pcap-config"],
> - [LIBPCAP_CONFIG="$with_libpcap/bin/pcap-config"]
> - )
> + case $with_libpcap in
> + no) LIBPCAP_CONFIG= ;;
> + ''|yes) LIBPCAP_CONFIG="pcap-config" ;;
> + *) LIBPCAP_CONFIG="$with_libpcap/bin/pcap-config" ;;
> + esac
> AS_IF([test "x$LIBPCAP_CONFIG" != "x"], [
> AC_MSG_CHECKING(libpcap $LIBPCAP_CONFIG >= $LIBPCAP_REQUIRED )
> if ! $LIBPCAP_CONFIG --libs > /dev/null 2>&1 ; then
>
ACK.
Matthias
More information about the libvir-list
mailing list