packages/utils/at/patches/100-cross-compile.patch
luka 08c4bae554 at: upgrade to version 3.1.13
git-svn-id: svn://svn.openwrt.org/openwrt/packages@30640 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-18 23:26:17 +00:00

31 lines
1.1 KiB
Diff

--- a/configure
+++ b/configure
@@ -3458,27 +3458,6 @@ $as_echo "yes" >&6; }
$as_echo "no" >&6; }
;;
esac
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking Trying to compile a trivial ANSI C program" >&5
-$as_echo_n "checking Trying to compile a trivial ANSI C program... " >&6; }
-if test "$cross_compiling" = yes; then :
- as_fn_error $? "Could not compile and run even a trivial ANSI C program - check CC." "$LINENO" 5
-else
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
- main(int ac, char **av) { return 0; }
-_ACEOF
-if ac_fn_c_try_run "$LINENO"; then :
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-$as_echo "yes" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
- as_fn_error $? "Could not compile and run even a trivial ANSI C program - check CC." "$LINENO" 5
-fi
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
- conftest.$ac_objext conftest.beam conftest.$ac_ext
-fi
-
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking __attribute__((noreturn))" >&5
$as_echo_n "checking __attribute__((noreturn))... " >&6; }