diff options
author | Richard Henderson <rth@redhat.com> | 2011-11-08 08:06:25 -0800 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2011-11-08 08:06:25 -0800 |
commit | 01f3428cafc13f5ae765d304494cac750892bb80 (patch) | |
tree | 257f6d91d2117a12fa1ed620ee8ebfeabd03a360 /configure | |
parent | f2906a8e9e0ed8aba6a7e39a1986f785e9d467f1 (diff) | |
download | gcc-01f3428cafc13f5ae765d304494cac750892bb80.tar.gz |
Check for libitm support at top-level.
From-SVN: r181168
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 26 |
1 files changed, 11 insertions, 15 deletions
diff --git a/configure b/configure index 03d00483411..b9cf0f1d0ff 100755 --- a/configure +++ b/configure @@ -3057,22 +3057,18 @@ if test x$enable_libgomp = x ; then esac fi -# Disable libitm on non POSIX hosted systems. -if test x$enable_libitm = x ; then - # Enable libitm by default on hosted POSIX systems. - case "${target}" in - *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu) - ;; - *-*-netbsd* | *-*-freebsd* | *-*-openbsd*) - ;; - *-*-solaris2* | *-*-sysv4* | *-*-irix6* | *-*-osf* | *-*-hpux11*) - ;; - *-*-darwin* | *-*-aix*) - ;; - *) +# Disable libitm on unsupported hosted systems. +if test x$enable_libitm = x; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libitm support" >&5 +$as_echo_n "checking for libitm support... " >&6; } + if (. ${srcdir}/libitm/configure.tgt; test -n "$UNSUPPORTED"); then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } noconfigdirs="$noconfigdirs target-libitm" - ;; - esac + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + fi fi # Disable libssp for some systems. |