- configure.in patches for Irix from bjjohnson

- extfs: .bin files get Stuffit Expander type/creator
This commit is contained in:
cebix 2000-10-14 16:30:54 +00:00
parent 01d43035d5
commit 1b751e0339
2 changed files with 4 additions and 2 deletions

View File

@ -39,7 +39,7 @@ case "$target_os" in
netbsd*) OS_TYPE=netbsd;;
freebsd*) OS_TYPE=freebsd;;
solaris*) OS_TYPE=solaris;;
*) OS_TYPE=`echo $target_os | sed -e 's/-/_/'`;;
*) OS_TYPE=`echo $target_os | sed -e 's/-/_/' | sed -e 's/\./_/'`;;
esac
DEFINES="$DEFINES -DOS_$OS_TYPE"
@ -260,7 +260,8 @@ solaris*)
;;
irix*)
EXTRASYSSRCS=Irix/unaligned.c
DEFINES="$DEFINES -DCRTSCTS=CNEW_RTSCTS -DB230400=B115200"
dnl IRIX headers work fine, but somehow don't define or use "STDC_HEADERS"
DEFINES="$DEFINES -DCRTSCTS=CNEW_RTSCTS -DB230400=B115200 -DSTDC_HEADERS"
LIBS="$LIBS -lm"
;;
esac

View File

@ -161,6 +161,7 @@ static const ext2type e2t_translation[] = {
{".Z", FOURCC('Z','I','V','M'), FOURCC('L','Z','I','V')},
{".gz", FOURCC('G','z','i','p'), FOURCC('G','z','i','p')},
{".hqx", FOURCC('T','E','X','T'), FOURCC('S','I','T','x')},
{".bin", FOURCC('T','E','X','T'), FOURCC('S','I','T','x')},
{".pdf", FOURCC('P','D','F',' '), FOURCC('C','A','R','O')},
{".ps", FOURCC('T','E','X','T'), FOURCC('t','t','x','t')},
{".sit", FOURCC('S','I','T','!'), FOURCC('S','I','T','x')},