binutils: allow static linking
[openadk.git] / package / tcptrace / patches / patch-configure
blob53ee6ce749fa1e8bf84411540dd3fb29eacc198a
1         do not bail on cross-compiling, simply assume useful values instead
2 --- tcptrace-6.6.7.orig/configure       2002-06-21 11:56:26.000000000 +0200
3 +++ tcptrace-6.6.7/configure    2012-10-18 18:52:35.154444758 +0200
4 @@ -5086,9 +5086,11 @@ echo "$as_me:5085: checking how to print
5  echo $ECHO_N "checking how to print unsigned long long... $ECHO_C" >&6
6  
7  if test "$cross_compiling" = yes; then
8 -  { { echo "$as_me:5089: error: can not run test program while cross compiling" >&5
9 -echo "$as_me: error: can not run test program while cross compiling" >&2;}
10 -   { (exit 1); exit 1; }; }
11 +  { echo "$as_me: cross_compiling, simply assuming '%llu'"
12 +    cat >>confdefs.h <<\EOF
13 +#define USE_LLU 1
14 +EOF
16  else
17    cat >conftest.$ac_ext <<_ACEOF
18  #line 5094 "configure"