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.

27 lines
751 B

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