[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/nios2/configure.ac b/ap/libc/glibc/glibc-2.22/sysdeps/nios2/configure.ac
new file mode 100644
index 0000000..f05f438
--- /dev/null
+++ b/ap/libc/glibc/glibc-2.22/sysdeps/nios2/configure.ac
@@ -0,0 +1,13 @@
+GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
+# Local configure fragment for sysdeps/nios2.
+
+# Nios II big endian is not yet supported.
+AC_CACHE_CHECK([for big endian],
+  [libc_cv_nios2_be],
+  [AC_EGREP_CPP(yes,[#ifdef __nios2_big_endian__
+                      yes
+                     #endif
+  ], libc_cv_nios2_be=yes, libc_cv_nios2_be=no)])
+if test $libc_cv_nios2_be = yes; then
+  AC_MSG_ERROR([Big endian not supported for Nios II])
+fi