aboutsummaryrefslogtreecommitdiff
path: root/gcc/configure
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2011-03-14 19:47:58 +0000
committerTom Tromey <tromey@gcc.gnu.org>2011-03-14 19:47:58 +0000
commitf4e749b49840f856b460fdf2a8e501d4436fbc16 (patch)
treea7d216e75ae40a2e56ee400b56f3a35b1d77e17b /gcc/configure
parentd34abfd27199742109a50122c3ee545a57b8fa6f (diff)
downloadgcc-f4e749b49840f856b460fdf2a8e501d4436fbc16.zip
gcc-f4e749b49840f856b460fdf2a8e501d4436fbc16.tar.gz
gcc-f4e749b49840f856b460fdf2a8e501d4436fbc16.tar.bz2
unwind-dw2.c: Include sys/sdt.h if it exists.
* unwind-dw2.c: Include sys/sdt.h if it exists. (_Unwind_DebugHook): Use STAP_PROBE2. * config.in, configure: Rebuild. * configure.ac: Check for sys/sdt.h. From-SVN: r170954
Diffstat (limited to 'gcc/configure')
-rwxr-xr-xgcc/configure13
1 files changed, 13 insertions, 0 deletions
diff --git a/gcc/configure b/gcc/configure
index a454946..e5e6164 100755
--- a/gcc/configure
+++ b/gcc/configure
@@ -25792,6 +25792,19 @@ $as_echo "#define TARGET_LIBC_PROVIDES_SSP 1" >>confdefs.h
fi
+# Test for <sys/sdt.h> on the target.
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking sys/sdt.h in the target C library" >&5
+$as_echo_n "checking sys/sdt.h in the target C library... " >&6; }
+have_sys_sdt_h=no
+if test -f $target_header_dir/sys/sdt.h; then
+
+$as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_sys_sdt_h" >&5
+$as_echo "$have_sys_sdt_h" >&6; }
+
# Check if TFmode long double should be used by default or not.
# Some glibc targets used DFmode long double, but with glibc 2.4
# and later they can use TFmode.