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"'
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
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