9a0677947b
Signed-off-by: Peter Wagner <tripolar@gmx.at> Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/packages@37689 3c298f89-4303-0410-b956-a3cf2f4a3e73
28 lines
751 B
Diff
28 lines
751 B
Diff
diff --git a/configure.in b/configure.in
|
|
index 00fff2b..af39300 100644
|
|
--- a/configure.in
|
|
+++ b/configure.in
|
|
@@ -24,22 +24,6 @@ m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
|
|
|
|
AC_PREFIX_DEFAULT(/usr)
|
|
|
|
-dnl Checks for programs.
|
|
-
|
|
-dnl try to gues cross-compiler if not set
|
|
-if test "x$host" != "x$build" -a -z "`echo $CC | grep -e '-gcc'`";
|
|
-then
|
|
- AC_MSG_CHECKING(for cross-compiler)
|
|
-
|
|
- which ${program_prefix}gcc >/dev/null 2>&1 && CC=${program_prefix}gcc
|
|
- which ${host_cpu}-${host_os}-gcc >/dev/null 2>&1 \
|
|
- && CC=${host_cpu}-${host_os}-gcc
|
|
- which ${host_cpu}-${host_vendor}-${host_os}-gcc >/dev/null 2>&1 \
|
|
- && CC=${host_cpu}-${host_vendor}-${host_os}-gcc
|
|
-
|
|
- AC_MSG_RESULT($CC)
|
|
-fi
|
|
-
|
|
CFLAGS="$CFLAGS -D_GNU_SOURCE"
|
|
|
|
|