summaryrefslogtreecommitdiff
path: root/libitm/configure
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2011-11-08 16:06:25 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2011-11-08 16:06:25 +0000
commit298c66d96719f98e870b7deedeac9b4611849194 (patch)
tree257f6d91d2117a12fa1ed620ee8ebfeabd03a360 /libitm/configure
parenta1942f0c9db4c65c6b61950cbda4d92e449a972b (diff)
downloadgcc-298c66d96719f98e870b7deedeac9b4611849194.tar.gz
Check for libitm support at top-level.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181168 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libitm/configure')
-rw-r--r--libitm/configure4
1 files changed, 4 insertions, 0 deletions
diff --git a/libitm/configure b/libitm/configure
index 08d2993e06e..e6bc1aaa0dc 100644
--- a/libitm/configure
+++ b/libitm/configure
@@ -17003,6 +17003,10 @@ _ACEOF
# Get target configury.
. ${srcdir}/configure.tgt
+if test -n "$UNSUPPORTED"; then
+ as_fn_error "Configuration ${target} is unsupported." "$LINENO" 5
+fi
+
CFLAGS="$save_CFLAGS $XCFLAGS"
# Check for __sync_val_compare_and_swap, but only after the target has