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.

23 lines
623 B

  1. --- a/configure.ac
  2. +++ b/configure.ac
  3. @@ -27,20 +27,6 @@ AC_PREFIX_DEFAULT(/usr)
  4. dnl Checks for programs.
  5. -dnl try to gues cross-compiler if not set
  6. -if test "x$host" != "x$build" -a -z "`echo $CC | grep -e '-gcc'`";
  7. -then
  8. - AC_MSG_CHECKING(for cross-compiler)
  9. -
  10. - which ${program_prefix}gcc >/dev/null 2>&1 && CC=${program_prefix}gcc
  11. - which ${host_cpu}-${host_os}-gcc >/dev/null 2>&1 \
  12. - && CC=${host_cpu}-${host_os}-gcc
  13. - which ${host_cpu}-${host_vendor}-${host_os}-gcc >/dev/null 2>&1 \
  14. - && CC=${host_cpu}-${host_vendor}-${host_os}-gcc
  15. -
  16. - AC_MSG_RESULT($CC)
  17. -fi
  18. -
  19. CFLAGS="$CFLAGS -D_GNU_SOURCE"