From 3d3b05ff4ffcca24cadba839a7708c8c483dd642 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Tue, 8 Nov 2011 08:28:30 -0800 Subject: Fix tests for libitm support. From-SVN: r181169 --- configure.ac | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'configure.ac') 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 -- cgit v1.2.1