diff options
author | Richard Henderson <rth@redhat.com> | 2011-11-08 08:28:30 -0800 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2011-11-08 08:28:30 -0800 |
commit | 3d3b05ff4ffcca24cadba839a7708c8c483dd642 (patch) | |
tree | 563d6726881575a6c845fb9c184669896a0e102b /configure.ac | |
parent | 01f3428cafc13f5ae765d304494cac750892bb80 (diff) | |
download | gcc-3d3b05ff4ffcca24cadba839a7708c8c483dd642.tar.gz |
Fix tests for libitm support.
From-SVN: r181169
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 0a30880ef98..888d0514336 100644 --- a/configure.ac +++ b/configure.ac @@ -496,7 +496,9 @@ fi # Disable libitm on unsupported hosted systems. if test x$enable_libitm = x; then AC_MSG_CHECKING([for libitm support]) - if (. ${srcdir}/libitm/configure.tgt; test -n "$UNSUPPORTED"); then + if (srcdir=${srcdir}/libitm; \ + . ${srcdir}/configure.tgt; \ + test -n "$UNSUPPORTED"); then AC_MSG_RESULT([no]) noconfigdirs="$noconfigdirs target-libitm" else |