OSDN Git Service

android porting
[android-x86/external-libpciaccess.git] / configure.ac
index f11204f..888330b 100644 (file)
@@ -23,7 +23,7 @@
 
 # Initialize Autoconf
 AC_PREREQ([2.60])
-AC_INIT([libpciaccess],[0.13.3],
+AC_INIT([libpciaccess],[0.13.4],
         [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg&component=libpciaccess],[libpciaccess])
 AC_CONFIG_SRCDIR([Makefile.am])
 AC_CONFIG_HEADERS([config.h])
@@ -76,13 +76,17 @@ case $host_os in
                ;;
        *netbsd*)
                case $host in
-               *i[3-9]86*)
-                       PCIACCESS_LIBS="$PCIACCESS_LIBS -li386 -lpci"
+               *i[[3-9]]86*)
+                       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*)