1# This file is generated from configure.ac by Autoconf.  DO NOT EDIT!
2 # Local configure fragment for sysdeps/unix/sysv/linux/i386.
3
4# Check if CFLAGS allows compiler to use ebp register in inline assembly.
5
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; }
8if ${libc_cv_can_use_register_asm_ebp+:} false; then :
9  $as_echo_n "(cached) " >&6
10else
11
12cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13/* end confdefs.h.  */
14
15    void foo (int i)
16    {
17      register int reg asm ("ebp") = i;
18      asm ("# %0" : : "r" (reg));
19    }
20int
21main ()
22{
23
24  ;
25  return 0;
26}
27_ACEOF
28if ac_fn_c_try_compile "$LINENO"; then :
29  libc_cv_can_use_register_asm_ebp=yes
30else
31  libc_cv_can_use_register_asm_ebp=no
32fi
33rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34
35fi
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; }
38if test $libc_cv_can_use_register_asm_ebp = yes; then
39  $as_echo "#define CAN_USE_REGISTER_ASM_EBP 1" >>confdefs.h
40
41fi
42
43libc_cv_gcc_unwind_find_fde=yes
44ldd_rewrite_script=sysdeps/unix/sysv/linux/ldd-rewrite.sed
45