Remove the unused +mkdep/+make-deps/s-proto.S/s-proto-cancel.S
[glibc.git] / sysdeps / arc / configure.ac
blobcb490e47b3561820dc45c325a0f42bcc5e7042ff
1 GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
2 # Local configure fragment for sysdeps/arc.
4 AC_DEFINE(PI_STATIC_AND_HIDDEN)
5 libc_cv_have_sdata_section=no
7 # For ARC, historically ; was used for comments and not newline
8 # Later # also got added to comment list, but ; couldn't be switched to
9 # canonical newline as there's lots of code out there which will break
10 libc_cv_asm_line_sep='`'
11 AC_DEFINE_UNQUOTED(ASM_LINE_SEP, $libc_cv_asm_line_sep)
13 # For big endian ABI, generate a symbol for selecting right dynamic linker
14 AC_CACHE_CHECK([for big endian],
15   [libc_cv_arc_be],
16   [AC_EGREP_CPP(yes,[#ifdef __BIG_ENDIAN__
17                       yes
18                      #endif
19   ], libc_cv_arc_be=yes, libc_cv_arc_be=no)])
20 if test $libc_cv_arc_be = yes; then
21   # For shlib-versions.
22   AC_DEFINE(HAVE_ARC_BE)
23   LIBC_CONFIG_VAR([default-abi], [arcbe])
24 else
25   LIBC_CONFIG_VAR([default-abi], [arcle])