1GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory. 2# Local configure fragment for sysdeps/unix/sysv/linux/i386. 3 4# Check if CFLAGS allows compiler to use ebp register in inline assembly. 5AC_CACHE_CHECK([if compiler flags allows ebp in inline assembly], 6 libc_cv_can_use_register_asm_ebp, [ 7AC_COMPILE_IFELSE( 8 [AC_LANG_PROGRAM([ 9 void foo (int i) 10 { 11 register int reg asm ("ebp") = i; 12 asm ("# %0" : : "r" (reg)); 13 }])], 14 [libc_cv_can_use_register_asm_ebp=yes], 15 [libc_cv_can_use_register_asm_ebp=no]) 16]) 17if test $libc_cv_can_use_register_asm_ebp = yes; then 18 AC_DEFINE(CAN_USE_REGISTER_ASM_EBP) 19fi 20 21libc_cv_gcc_unwind_find_fde=yes 22ldd_rewrite_script=sysdeps/unix/sysv/linux/ldd-rewrite.sed 23