[PATCH:libpciaccess] Improve NetBSD i386 detection.

Thomas Klausner wiz at NetBSD.org
Wed Aug 14 10:45:46 PDT 2013


Sometimes, other values are reported for the CPU part, like
"i486--netbsdelf").

From: Mark Davies <markd at NetBSD.org>
Signed-off-by: Thomas Klausner <wiz at NetBSD.org>
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 65444b9..fe3b78e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -76,7 +76,7 @@ case $host_os in
 		;;
 	*netbsd*)
 		case $host in
-		*i386*)
+		*i[3-9]86*)
 			PCIACCESS_LIBS="$PCIACCESS_LIBS -li386 -lpci"
 			;;
 		*x86_64*|*amd64*)
-- 
1.8.3.3



More information about the xorg-devel mailing list