aboutsummaryrefslogtreecommitdiff
path: root/libsanitizer/configure.ac
diff options
context:
space:
mode:
authorWei Mi <wmi@google.com>2012-11-22 22:03:11 +0000
committerWei Mi <wmi@gcc.gnu.org>2012-11-22 22:03:11 +0000
commitcd0be65c262d477ac094fc1038824f766d976999 (patch)
treef83ad11b95452b47f813e942d24914f31a50394e /libsanitizer/configure.ac
parent32b4b7f53e341be663438f69fd6cb2f909427188 (diff)
downloadgcc-cd0be65c262d477ac094fc1038824f766d976999.zip
gcc-cd0be65c262d477ac094fc1038824f766d976999.tar.gz
gcc-cd0be65c262d477ac094fc1038824f766d976999.tar.bz2
tsan: New directory.
libsanitizer/ * tsan: New directory. Import tsan runtime from llvm. * configure.ac: Add 64 bits tsan build. * Makefile.am: Likewise. * configure: Regenerated. * Makefile.in: Likewise. From-SVN: r193737
Diffstat (limited to 'libsanitizer/configure.ac')
-rw-r--r--libsanitizer/configure.ac16
1 files changed, 16 insertions, 0 deletions
diff --git a/libsanitizer/configure.ac b/libsanitizer/configure.ac
index 4fb576f..0f9e185 100644
--- a/libsanitizer/configure.ac
+++ b/libsanitizer/configure.ac
@@ -72,6 +72,7 @@ if test "${multilib}" = "yes"; then
else
multilib_arg=
fi
+AM_CONDITIONAL(MULTISUBDIR32, [test "x$with_multisubdir" = "x32"])
AC_CONFIG_FILES([Makefile])
@@ -88,4 +89,19 @@ _EOF
AS_UNSET([ml_norecursion])
])
+if test "x$with_multisubdir" != "x32"; then
+ AC_CONFIG_FILES(AC_FOREACH([DIR], [tsan], [DIR/Makefile ]),
+ [cat > vpsed$$ << \_EOF
+s!`test -f '$<' || echo '$(srcdir)/'`!!
+_EOF
+ sed -f vpsed$$ $ac_file > tmp$$
+ mv tmp$$ $ac_file
+ rm vpsed$$
+ echo 'MULTISUBDIR =' >> $ac_file
+ ml_norecursion=yes
+ . ${multi_basedir}/config-ml.in
+ AS_UNSET([ml_norecursion])
+])
+fi
+
AC_OUTPUT