--- configure.ac.orig 2015-02-15 06:42:46.000000000 +0100 +++ configure.ac 2015-02-15 06:44:31.000000000 +0100 @@ -77,12 +77,16 @@ *netbsd*) case $host in *i[3-9]86*) - PCIACCESS_LIBS="$PCIACCESS_LIBS -li386 -lpci" + PCIACCESS_LIBS="$PCIACCESS_LIBS -li386" ;; *x86_64*|*amd64*) - PCIACCESS_LIBS="$PCIACCESS_LIBS -lx86_64 -lpci" + PCIACCESS_LIBS="$PCIACCESS_LIBS -lx86_64" + ;; + *alpha*) + PCIACCESS_LIBS="$PCIACCESS_LIBS -lalpha" ;; esac + PCIACCESS_LIBS="$PCIACCESS_LIBS -lpci" netbsd=yes ;; *openbsd*)