summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac8
1 files changed, 6 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index f11204f..f94fa15 100644
--- a/configure.ac
+++ b/configure.ac
@@ -77,12 +77,16 @@ case $host_os in
*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*)