]> mj.ucw.cz Git - pciutils.git/blobdiff - lib/configure
Merge branch 'amiga'
[pciutils.git] / lib / configure
index 8bdfc028d6f6df55ef4d1f9b1f47721159b1f77b..3df057ad8ffebf6878085a5113350e7bd6b9ddaf 100755 (executable)
@@ -88,16 +88,17 @@ case $sys in
                LSPCIDIR=BINDIR
                ;;
        sunos)
+               echo_n " mem-ports ecam"
                case $cpu in
                                i?86)           echo_n " i386-ports"
                                                echo >>$c "#define PCI_HAVE_PM_INTEL_CONF"
                                                ;;
-                               *)
-                                               echo " The PCI library does not support Solaris for this architecture: $cpu"
-                                               exit 1
-                                               ;;
                esac
-               echo >>$c '#define PCI_HAVE_STDINT_H'
+               echo >>$c '#define PCI_HAVE_PM_MMIO_CONF'
+               echo >>$c '#define PCI_HAVE_PM_ECAM'
+               echo >>$c '#define PCI_PATH_DEVMEM_DEVICE "/dev/xsvc"'
+               echo >>$c '#define PCI_PATH_ACPI_MCFG ""'
+               echo >>$c '#define PCI_PATH_EFI_SYSTAB ""'
                ;;
        freebsd*|kfreebsd*)
                echo_n " fbsd-device mem-ports ecam"
@@ -121,6 +122,12 @@ case $sys in
                echo >>$c '#define PCI_PATH_DEVMEM_DEVICE "/dev/mem"'
                echo >>$c '#define PCI_PATH_ACPI_MCFG "/var/db/acpi/MCFG.*"'
                echo >>$c '#define PCI_PATH_EFI_SYSTAB ""'
+               case $cpu in
+                               i386|amd64)     echo_n " i386-ports"
+                                               echo >>$c '#define PCI_HAVE_PM_INTEL_CONF'
+                                               echo >>$m 'WITH_LIBS+=-l'$cpu
+                                               ;;
+               esac
                LIBRESOLV=
                ;;
 
@@ -190,12 +197,17 @@ case $sys in
                LIBEXT=dll
                ;;
        beos|haiku)
+               echo_n " mem-ports ecam"
                case $cpu in
                                i?86|x86_64)    echo_n " i386-ports"
                                                echo >>$c '#define PCI_HAVE_PM_INTEL_CONF'
                                                ;;
                esac
-               echo >>$c '#define PCI_HAVE_STDINT_H'
+               echo >>$c '#define PCI_HAVE_PM_MMIO_CONF'
+               echo >>$c '#define PCI_HAVE_PM_ECAM'
+               echo >>$c '#define PCI_PATH_DEVMEM_DEVICE "/dev/misc/mem"'
+               echo >>$c '#define PCI_PATH_ACPI_MCFG ""'
+               echo >>$c '#define PCI_PATH_EFI_SYSTAB ""'
                ;;
        sylixos)
                echo >>$c '#define PCI_PATH_SYLIXOS_DEVICE "/proc/pci"'