You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
479 B

  1. --- a/configure.ac
  2. +++ b/configure.ac
  3. @@ -74,6 +74,18 @@ AM_SILENT_RULES
  4. AC_CANONICAL_HOST
  5. AB_INIT
  6. +case "${host}" in
  7. + x86_64-openwrt-linux-gnu|i?86-openwrt-linux-gnu)
  8. + host=$(echo $host | sed 's/openwrt/pc/g')
  9. + ;;
  10. + arm-openwrt-linux-gnu|armeb-openwrt-linux-gnu)
  11. + host=arm-unknown-linux-gnueabi
  12. + ;;
  13. + *)
  14. + host=$(echo $host | sed 's/openwrt/unknown/g')
  15. + ;;
  16. +esac
  17. +
  18. # Checks for programs.
  19. AC_PROG_CC
  20. AM_PROG_CC_C_O