* scripts/config.sub: Strip out -unknown for Linux targets.
Patch by Scott Bambrough <scottb@netwinder.org>.
2000-09-07 Ulrich Drepper <drepper@redhat.com>
+ * scripts/config.sub: Strip out -unknown for Linux targets.
+ Patch by Scott Bambrough <scottb@netwinder.org>.
+
* posix/tst-dir.c (main): Correct one bug (missing NULL test) and
add one more test.
nto-qnx* | linux-gnu*)
os=-$maybe_os
basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
+ basic_machine=`echo $basic_machine | sed 's/-unknown//'`
;;
*)
basic_machine=`echo $1 | sed 's/-[^-]*$//'`