]> mj.ucw.cz Git - pciutils.git/commitdiff
lib/configure: match all freebsd os's
authorMarek Cruz <programatorfreez@gmail.com>
Tue, 31 Jan 2012 15:50:47 +0000 (10:50 -0500)
committerMartin Mares <mj@ucw.cz>
Mon, 1 Apr 2013 19:47:38 +0000 (21:47 +0200)
When using targets like "i686-pc-freebsd7.1", the configure script fails
to match for the freebsd target because it only expects "freebsd".  Add
a glob to match all freebsd targets.

lib/configure

index 4b58c74f028b45ef42b5af12301cdd46db2839ad..27388bc15b5e99f0d550e5bec30f861fa2b97115 100755 (executable)
@@ -86,7 +86,7 @@ case $sys in
                esac
                echo >>$c '#define PCI_HAVE_STDINT_H'
                ;;
-       freebsd)
+       freebsd*)
                echo_n " fbsd-device"
                echo >>$c '#define PCI_HAVE_PM_FBSD_DEVICE'
                echo >>$c '#define PCI_PATH_FBSD_DEVICE "/dev/pci"'