summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authoraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>2011-11-08 11:13:41 +0000
committeraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>2011-11-08 11:13:41 +0000
commit4c0315d05fa0f707875686abc4f91f7a979a7c7b (patch)
treee07de8d0b6265f8d72388d335bd471022e753d57 /configure
parentbf09288ee7b5f264f28081a84fde4c6aa1ac5c82 (diff)
downloadppe42-gcc-4c0315d05fa0f707875686abc4f91f7a979a7c7b.tar.gz
ppe42-gcc-4c0315d05fa0f707875686abc4f91f7a979a7c7b.zip
Merge from transactional-memory branch.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181154 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure19
1 files changed, 19 insertions, 0 deletions
diff --git a/configure b/configure
index eb69f28d59e..03d00483411 100755
--- a/configure
+++ b/configure
@@ -2681,6 +2681,7 @@ target_libraries="target-libgcc \
target-libgloss \
target-newlib \
target-libgomp \
+ target-libitm \
target-libstdc++-v3 \
target-libmudflap \
target-libssp \
@@ -3056,6 +3057,24 @@ 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*)
+ ;;
+ *)
+ noconfigdirs="$noconfigdirs target-libitm"
+ ;;
+ esac
+fi
+
# Disable libssp for some systems.
case "${target}" in
avr-*-*)
OpenPOWER on IntegriCloud