at some point in the past someone removed a huge code block at the very end
to detect various systems lacking uname - one of them was m68k-sony-newsos.
the current autoconf does not recognize the system anymore, the attached
patch should resurrect the old code (for sony-newsos; you may want to
reinclude the _SEQUENT_/__acorn/... code as well).
urs
--- config.guess 2019-02-11 14:12:46.200044600 +0100
+++ config.guess.x 2019-02-28 09:09:19.676537800 +0100
@@ -1433,6 +1433,30 @@
exit ;;
esac
+eval $set_cc_for_build
+cat >$dummy.c <<EOF
+main ()
+{
+#if defined (sony)
+#if defined (MIPSEB)
+ /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed,
+ I don't know.... */
+ printf ("mips-sony-bsd\n"); exit (0);
+#else
+#include <sys/param.h>
+ printf ("m68k-sony-newsos%s\n",
+#ifdef NEWSOS4
+ "4"
+#else
+ ""
+#endif
+ ); exit (0);
+#endif
+#endif
+ exit (1);
+}
+EOF
+
echo "$0: unable to guess system type" >&2
case "$UNAME_MACHINE:$UNAME_SYSTEM" in
_______________________________________________
config-patches mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/config-patches