X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=lib%2Fconfigure;h=d02160b64fee0ad8436bb93024933d849d334205;hb=cb00a99b8d32d04b4647c32811ba9c86446d36ae;hp=2479deff45c56660b1a692e287db347534daa787;hpb=ebbd5e810639fe13c6e85eb358b34997253244d8;p=pciutils.git diff --git a/lib/configure b/lib/configure index 2479def..d02160b 100755 --- a/lib/configure +++ b/lib/configure @@ -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" @@ -196,12 +197,20 @@ 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 ""' + if [ "$sys" != "beos" ] ; then + LIBRESOLV=-lnetwork + fi ;; sylixos) echo >>$c '#define PCI_PATH_SYLIXOS_DEVICE "/proc/pci"' @@ -210,6 +219,13 @@ case $sys in IDSDIR="/etc/pci" LIBRESOLV= ;; + amigaos) + echo_n " aos-expansion" + echo >>$c '#define PCI_HAVE_STDINT_H' + echo >>$c '#define PCI_HAVE_PM_AOS_EXPANSION' + IDSDIR="DEVS:" + echo >>$m 'CC=gcc' + ;; *) echo " Unfortunately, your OS is not supported by the PCI Library" exit 1 @@ -348,4 +364,5 @@ else fi echo >>$c "#define PCILIB_VERSION \"$VERSION\"" +echo >>$c "#define PCILIB_DATE_AMIGAOS \"`echo $DATE | sed 's/\(....\)-\(..\)-\(..\)/\3.\2.\1/'`\"" sed '/"/{s/^#define \([^ ]*\) "\(.*\)"$/\1=\2/;p;d;};s/^#define \(.*\)/\1=1/' <$c >>$m