1 # This file is generated from configure.in by Autoconf. DO NOT EDIT!
2 # Local configure fragment for sysdeps/i386.
4 echo "$as_me:$LINENO: checking if -g produces usable source locations for assembler-with-cpp" >&5
5 echo $ECHO_N "checking if -g produces usable source locations for assembler-with-cpp... $ECHO_C" >&6
6 if test "${libc_cv_cpp_asm_debuginfo+set}" = set; then
7 echo $ECHO_N "(cached) $ECHO_C" >&6
15 ${libc_cv_asm_global_directive} foo
17 /* Unfortunately this test only works for a real instruction,
18 not for any of the machine-independent pseudo-ops.
19 So we just have to assume everybody has a "nop". */
26 if { ac_try='${CC-cc} $CPPFLAGS $ASFLAGS -g -c conftest.S 1>&5'
27 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31 (exit $ac_status); }; } && {
32 ac_pattern='conftest\.S'
33 { ac_try='readelf --debug-dump=line conftest.o |
34 grep $ac_pattern 1>&5'
35 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39 (exit $ac_status); }; }
41 libc_cv_cpp_asm_debuginfo=yes
43 libc_cv_cpp_asm_debuginfo=no
47 echo "$as_me:$LINENO: result: $libc_cv_cpp_asm_debuginfo" >&5
48 echo "${ECHO_T}$libc_cv_cpp_asm_debuginfo" >&6
49 if test $libc_cv_cpp_asm_debuginfo = yes; then
50 cat >>confdefs.h <<\_ACEOF
51 #define HAVE_CPP_ASM_DEBUGINFO 1