configure.tgt 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. # -*- shell-script -*-
  2. # Copyright (C) 2013-2022 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. VTV_SUPPORTED=no
  20. case "${target}" in
  21. *-*-*android*)
  22. ;;
  23. *-*-solaris2.1[1-9]*)
  24. # Vtable verification requires constructor priority support and
  25. # dl_iterate_phdr. The former requires a dynamic check in
  26. # configure.ac, the latter is fully present in Solaris 11 only.
  27. VTV_SUPPORTED=yes
  28. ;;
  29. x86_64-*-linux* | i?86-*-linux*)
  30. VTV_SUPPORTED=yes
  31. ;;
  32. x86_64-*-cygwin* | i?86-*-cygwin*)
  33. VTV_SUPPORTED=yes
  34. ;;
  35. x86_64-*-mingw* | i?86-*-mingw*)
  36. VTV_SUPPORTED=yes
  37. ;;
  38. powerpc*-*-linux*)
  39. ;;
  40. sparc*-*-linux*)
  41. ;;
  42. arm*-*-linux*)
  43. VTV_SUPPORTED=yes
  44. ;;
  45. aarch64*-*-linux*)
  46. VTV_SUPPORTED=yes
  47. ;;
  48. x86_64-*-darwin[1]* | i?86-*-darwin[1]*)
  49. ;;
  50. *)
  51. ;;
  52. esac