alpha: Adjust the libc_cv_alpha_hidden_gprel test for gcc 4.5.
[glibc.git] / sysdeps / arm / configure.in
blob9f4ff3b7384929490a6f25aca8675b13af30933d
1 GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
2 # Local configure fragment for sysdeps/arm.
4 AC_CACHE_CHECK([whether the CFI directive .cfi_sections is supported],
5   [libc_cv_asm_cfi_directive_sections],
6   [cat > conftest.s <<EOF
7         .text
8         .cfi_sections .debug_frame, .eh_frame
9         .cfi_startproc
10         .cfi_endproc
11 EOF
12   if AC_TRY_COMMAND(${CC-cc} $ASFLAGS -c conftest.s 1>&AS_MESSAGE_LOG_FD); then
13     libc_cv_asm_cfi_directive_sections=yes
14   else
15     libc_cv_asm_cfi_directive_sections=no
16   fi
17   rm -f conftest*])
18 if test $libc_cv_asm_cfi_directive_sections != yes; then
19   AC_MSG_ERROR([need .cfi_sections in this configuration])