1 # This file is generated from configure.ac by Autoconf. DO NOT EDIT!
2 # Local configure fragment for sysdeps/unix/sysv/linux/i386.
4 # Check if CFLAGS allows compiler to use ebp register in inline assembly.
6 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler flags allows ebp in inline assembly" >&5
7 $as_echo_n "checking if compiler flags allows ebp in inline assembly... " >&6; }
8 if ${libc_cv_can_use_register_asm_ebp+:} false; then :
9 $as_echo_n "(cached) " >&6
12 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17 register int reg asm ("ebp") = i;
18 asm ("# %0" : : "r" (reg));
28 if ac_fn_c_try_compile "$LINENO"; then :
29 libc_cv_can_use_register_asm_ebp=yes
31 libc_cv_can_use_register_asm_ebp=no
33 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_can_use_register_asm_ebp" >&5
37 $as_echo "$libc_cv_can_use_register_asm_ebp" >&6; }
38 if test $libc_cv_can_use_register_asm_ebp = yes; then
39 $as_echo "#define CAN_USE_REGISTER_ASM_EBP 1" >>confdefs.h
43 libc_cv_gcc_unwind_find_fde=yes
44 ldd_rewrite_script=sysdeps/unix/sysv/linux/ldd-rewrite.sed