configure.tgt 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. # -*- shell-script -*-
  2. # Copyright (C) 2012 Free Software Foundation, Inc.
  3. # This program is free software; you can redistribute it and/or modify
  4. # it under the terms of the GNU General Public License as published by
  5. # the Free Software Foundation; either version 2 of the License, or
  6. # (at your option) any later version.
  7. #
  8. # This program is distributed in the hope that it will be useful,
  9. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. # GNU General Public License for more details.
  12. #
  13. # You should have received a copy of the GNU General Public License
  14. # along with this program; if not see <http://www.gnu.org/licenses/>.
  15. # This is the target specific configuration file. This is invoked by the
  16. # autoconf generated configure script. Putting it in a separate shell file
  17. # lets us skip running autoconf when modifying target specific information.
  18. # Filter out unsupported systems.
  19. TSAN_TARGET_DEPENDENT_OBJECTS=
  20. case "${target}" in
  21. x86_64-*-linux* | i?86-*-linux*)
  22. if test x$ac_cv_sizeof_void_p = x8; then
  23. TSAN_SUPPORTED=yes
  24. LSAN_SUPPORTED=yes
  25. TSAN_TARGET_DEPENDENT_OBJECTS=tsan_rtl_amd64.lo
  26. fi
  27. ;;
  28. powerpc*-*-linux*)
  29. ;;
  30. sparc*-*-linux*)
  31. ;;
  32. arm*-*-linux*)
  33. ;;
  34. aarch64*-*-linux*)
  35. ;;
  36. x86_64-*-darwin[1]* | i?86-*-darwin[1]*)
  37. TSAN_SUPPORTED=no
  38. ;;
  39. *)
  40. UNSUPPORTED=1
  41. ;;
  42. esac