OSDN Git Service

Improve NetBSD i386 detection.
authorThomas Klausner <wiz@NetBSD.org>
Wed, 14 Aug 2013 17:45:46 +0000 (19:45 +0200)
committerAlan Coopersmith <alan.coopersmith@oracle.com>
Sat, 23 Nov 2013 06:49:48 +0000 (22:49 -0800)
Sometimes, other values are reported for the CPU part, like
"i486--netbsdelf").

From: Mark Davies <markd@NetBSD.org>
Signed-off-by: Thomas Klausner <wiz@NetBSD.org>
Reviewed-By: Matt Dew <marcoz@osource.org>
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
configure.ac

index 65444b9..fe3b78e 100644 (file)
@@ -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*)