39 |
|
netbsd*) OS_TYPE=netbsd;; |
40 |
|
freebsd*) OS_TYPE=freebsd;; |
41 |
|
solaris*) OS_TYPE=solaris;; |
42 |
< |
*) OS_TYPE=`echo $target_os | sed -e 's/-/_/'`;; |
42 |
> |
*) OS_TYPE=`echo $target_os | sed -e 's/-/_/' | sed -e 's/\./_/'`;; |
43 |
|
esac |
44 |
|
DEFINES="$DEFINES -DOS_$OS_TYPE" |
45 |
|
|
260 |
|
;; |
261 |
|
irix*) |
262 |
|
EXTRASYSSRCS=Irix/unaligned.c |
263 |
< |
DEFINES="$DEFINES -DCRTSCTS=CNEW_RTSCTS -DB230400=B115200" |
263 |
> |
dnl IRIX headers work fine, but somehow don't define or use "STDC_HEADERS" |
264 |
> |
DEFINES="$DEFINES -DCRTSCTS=CNEW_RTSCTS -DB230400=B115200 -DSTDC_HEADERS" |
265 |
|
LIBS="$LIBS -lm" |
266 |
|
;; |
267 |
|
esac |