aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/nios2/configure.ac
diff options
context:
space:
mode:
authorChung-Lin Tang <cltang@codesourcery.com>2015-01-17 22:29:12 -0800
committerChung-Lin Tang <cltang@codesourcery.com>2015-01-17 22:29:12 -0800
commit522e6ee3b45808ea845ec0ac11d5fffcd737baba (patch)
tree3d107705431599279416406a487cd8a905a372af /sysdeps/nios2/configure.ac
parent026eb207eda8cc93f6f7f0980f0a8e51587d8011 (diff)
downloadglibc-522e6ee3b45808ea845ec0ac11d5fffcd737baba.tar
glibc-522e6ee3b45808ea845ec0ac11d5fffcd737baba.tar.gz
glibc-522e6ee3b45808ea845ec0ac11d5fffcd737baba.tar.bz2
glibc-522e6ee3b45808ea845ec0ac11d5fffcd737baba.zip
Commit nios2 port to master.
Diffstat (limited to 'sysdeps/nios2/configure.ac')
-rw-r--r--sysdeps/nios2/configure.ac13
1 files changed, 13 insertions, 0 deletions
diff --git a/sysdeps/nios2/configure.ac b/sysdeps/nios2/configure.ac
new file mode 100644
index 0000000000..f05f43802b
--- /dev/null
+++ b/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