configure.ac 797 B

12345678910111213141516171819202122
  1. GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
  2. # Local configure fragment for sysdeps/arc.
  3. libc_cv_have_sdata_section=no
  4. # For ARC, historically ; was used for comments and not newline
  5. # Later # also got added to comment list, but ; couldn't be switched to
  6. # canonical newline as there's lots of code out there which will break
  7. libc_cv_asm_line_sep='`'
  8. AC_DEFINE_UNQUOTED(ASM_LINE_SEP, $libc_cv_asm_line_sep)
  9. # ARC big endian ABI is no longer supported.
  10. AC_CACHE_CHECK([for big endian],
  11. [libc_cv_arc_be],
  12. [AC_EGREP_CPP(yes,[#ifdef __BIG_ENDIAN__
  13. yes
  14. #endif
  15. ], libc_cv_arc_be=yes, libc_cv_arc_be=no)])
  16. if test $libc_cv_arc_be = yes; then
  17. AC_MSG_ERROR([big-endian not supported])
  18. fi
  19. LIBC_CONFIG_VAR([default-abi], [arcle])