Branch oldpackages for 14.07
[14.07/packages.git] / utils / at / patches / 100-cross-compile.patch
1 --- a/configure
2 +++ b/configure
3 @@ -3458,27 +3458,6 @@ $as_echo "yes" >&6; }
4  $as_echo "no" >&6; }
5      ;;
6  esac
7 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking Trying to compile a trivial ANSI C program" >&5
8 -$as_echo_n "checking Trying to compile a trivial ANSI C program... " >&6; }
9 -if test "$cross_compiling" = yes; then :
10 -  as_fn_error $? "Could not compile and run even a trivial ANSI C program - check CC." "$LINENO" 5
11 -else
12 -  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13 -/* end confdefs.h.  */
14 - main(int ac, char **av) { return 0; }
15 -_ACEOF
16 -if ac_fn_c_try_run "$LINENO"; then :
17 -  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18 -$as_echo "yes" >&6; }
19 -else
20 -  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21 -$as_echo "no" >&6; }
22 -    as_fn_error $? "Could not compile and run even a trivial ANSI C program - check CC." "$LINENO" 5
23 -fi
24 -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25 -  conftest.$ac_objext conftest.beam conftest.$ac_ext
26 -fi
27 -
28  
29  { $as_echo "$as_me:${as_lineno-$LINENO}: checking __attribute__((noreturn))" >&5
30  $as_echo_n "checking __attribute__((noreturn))... " >&6; }