]> mj.ucw.cz Git - pciutils.git/blobdiff - lib/configure
Merge branch 'amiga'
[pciutils.git] / lib / configure
index 90641663f8736089b8d303a8a8e4b4629a029234..3df057ad8ffebf6878085a5113350e7bd6b9ddaf 100755 (executable)
@@ -216,6 +216,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
@@ -354,4 +361,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