Re: [PATCHv2 1/7] build: allow autoconf 2.59 again

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2010/12/18 Eric Blake <eblake@xxxxxxxxxx>:
> 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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]