[T106][ZXW-22]7520V3SCV2.01.01.02P42U09_VEC_V0.8_AP_VEC origin source commit
Change-Id: Ic6e05d89ecd62fc34f82b23dcf306c93764aec4b
diff --git a/ap/libc/glibc/glibc-2.22/sysdeps/m68k/preconfigure b/ap/libc/glibc/glibc-2.22/sysdeps/m68k/preconfigure
new file mode 100644
index 0000000..94fc1aa
--- /dev/null
+++ b/ap/libc/glibc/glibc-2.22/sysdeps/m68k/preconfigure
@@ -0,0 +1,17 @@
+# This fragment canonicalizes the machine names for m68k variants.
+
+case "$machine" in
+m680?0) base_machine=m68k machine=m68k/m680x0/$machine ;;
+m68k) variant=`(echo "#ifdef __mcoldfire__"
+ echo "coldfire"
+ echo "#else"
+ echo "m680x0/m68020"
+ echo "#endif") |
+ $CC $CFLAGS $CPPFLAGS -E - |
+ grep '^[a-z]'`
+ if test -z "$variant"; then
+ echo >&2 "Cannot determine m68k processor variant"
+ exit 1
+ fi
+ base_machine=m68k machine=m68k/$variant ;;
+esac