configure.ac 789 B

12345678910111213141516171819202122232425262728293031323334
  1. dnl Process this file file with autoconf to produce a configure script.
  2. dnl This file is a shell script fragment that supplies the information
  3. dnl necessary to tailor a template configure script into the configure
  4. dnl script appropriate for this directory. For more information, check
  5. dnl any existing configure script.
  6. AC_PREREQ(2.59)
  7. AC_INIT(common/bits-tst.c)
  8. CC=${CC-cc}
  9. AC_SUBST(CC)
  10. AC_CONFIG_AUX_DIR(`cd $srcdir;pwd`/../..)
  11. AC_CANONICAL_SYSTEM
  12. # Configure sub-directory for appropriate targets
  13. case ${target} in
  14. d10v-*-elf )
  15. AC_CONFIG_SUBDIRS(d10v-elf)
  16. ;;
  17. frv-*-elf )
  18. AC_CONFIG_SUBDIRS(frv-elf)
  19. ;;
  20. m32r-*-elf )
  21. AC_CONFIG_SUBDIRS(m32r-elf)
  22. ;;
  23. mips64el-*-elf )
  24. AC_CONFIG_SUBDIRS(mips64el-elf)
  25. ;;
  26. esac
  27. sinclude(../configure.tgt)
  28. AC_OUTPUT(Makefile)