[PATCH] Fix support with pciutils 2.2.4

Guillem Jover guillem.jover at nokia.com
Wed Feb 21 01:47:16 PST 2007


Hi,

On Tue, 2007-02-20 at 11:12:03 -0500, ext Doug Goldstein wrote:
> New pciutils is now gzipping their pci.ids by default. As a result,
> libpci needs to have zlib included along with it. I also took the
> liberty of cleaning up the libpci check a little bit so there was not 2
> fail cases.

> Index: configure.in
> ===================================================================
> --- configure.in.orig
> +++ configure.in
> @@ -243,9 +243,12 @@ fi
>  dnl Check for libpci
>  AC_CHECK_HEADERS(pci/pci.h, [
>  	AC_CHECK_LIB(pci, pci_init, [
> -		USE_LIBPCI=yes AM_CONDITIONAL(HAVE_LIBPCI,true)], [
> -		USE_LIBPCI=no AM_CONDITIONAL(HAVE_LIBPCI,false)])], [
> -	USE_LIBPCI=no AM_CONDITIONAL(HAVE_LIBPCI,false)])
> +		USE_LIBPCI=yes
> +		AM_CONDITIONAL(HAVE_LIBPCI,true)], [
> +		USE_LIBPCI=no
> +		AM_CONDITIONAL(HAVE_LIBPCI,false)])], [
> +		USE_LIBPCI=no
> +		AM_CONDITIONAL(HAVE_LIBPCI,false)])
>  
>  dnl see if we should build macbookpro utils
>  AC_ARG_WITH(macbookpro,     [  --with-macbookpro       Whether to build Macbook Pro utils (auto)])

This patch only seems to change indentation.

regards,
guillem


More information about the hal mailing list