1 # This file is generated from configure.in by Autoconf. DO NOT EDIT!
2 # Local configure fragment for sysdeps/ia64.
4 { $as_echo "$as_me:$LINENO: checking if -g produces usable source locations for assembler-with-cpp" >&5
5 $as_echo_n "checking if -g produces usable source locations for assembler-with-cpp... " >&6; }
6 if test "${libc_cv_cpp_asm_debuginfo+set}" = set; then
7 $as_echo_n "(cached) " >&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 $as_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 $as_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 { $as_echo "$as_me:$LINENO: result: $libc_cv_cpp_asm_debuginfo" >&5
48 $as_echo "$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