File: configure.ac

package info (click to toggle)
glibc 2.28-7
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 271,524 kB
  • sloc: ansic: 1,008,513; asm: 259,608; makefile: 11,266; sh: 10,477; python: 6,910; cpp: 4,992; perl: 2,258; awk: 2,005; yacc: 290; pascal: 182; sed: 73
file content (22 lines) | stat: -rw-r--r-- 747 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
# Local configure fragment for sysdeps/unix/sysv/linux/i386.

# Check if CFLAGS allows compiler to use ebp register in inline assembly.
AC_CACHE_CHECK([if compiler flags allows ebp in inline assembly],
                libc_cv_can_use_register_asm_ebp, [
AC_COMPILE_IFELSE(
  [AC_LANG_PROGRAM([
    void foo (int i)
    {
      register int reg asm ("ebp") = i;
      asm ("# %0" : : "r" (reg));
    }])],
  [libc_cv_can_use_register_asm_ebp=yes],
  [libc_cv_can_use_register_asm_ebp=no])
])
if test $libc_cv_can_use_register_asm_ebp = yes; then
  AC_DEFINE(CAN_USE_REGISTER_ASM_EBP)
fi

libc_cv_gcc_unwind_find_fde=yes
ldd_rewrite_script=sysdeps/unix/sysv/linux/ldd-rewrite.sed