1.1 --- a/configure Wed Sep 08 08:42:09 2010 +1000
1.2 +++ b/configure Thu Jan 20 06:51:15 2011 +1000
1.3 @@ -8124,6 +8124,64 @@
1.7 +{ echo "$as_me:$LINENO: checking support for force inlining" >&5
1.8 +echo $ECHO_N "checking support for force inlining... $ECHO_C" >&6; };
1.9 +cat >conftest.$ac_ext <<_ACEOF
1.13 +cat confdefs.h >>conftest.$ac_ext
1.14 +cat >>conftest.$ac_ext <<_ACEOF
1.15 +/* end confdefs.h. */
1.17 +static int __attribute__((always_inline)) foo(int a, int b) { return a+b; }
1.19 +int main(int argc, char *argv[])
1.21 + return foo( 1, 2 ) == 3 ? 0 : 1;
1.24 +rm -f conftest.$ac_objext
1.25 +if { (ac_try="$ac_compile"
1.26 +case "(($ac_try" in
1.27 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1.28 + *) ac_try_echo=$ac_try;;
1.30 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1.31 + (eval "$ac_compile") 2>conftest.er1
1.33 + grep -v '^ *+' conftest.er1 >conftest.err
1.34 + rm -f conftest.er1
1.35 + cat conftest.err >&5
1.36 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.37 + (exit $ac_status); } && {
1.38 + test -z "$ac_c_werror_flag" ||
1.39 + test ! -s conftest.err
1.40 + } && test -s conftest.$ac_objext; then
1.42 + FORCEINLINE="__attribute__((always_inline))"
1.43 + { echo "$as_me:$LINENO: result: $FORCEINLINE" >&5
1.44 +echo "${ECHO_T}$FORCEINLINE" >&6; }
1.47 + echo "$as_me: failed program was:" >&5
1.48 +sed 's/^/| /' conftest.$ac_ext >&5
1.52 + { echo "$as_me:$LINENO: result: no" >&5
1.53 +echo "${ECHO_T}no" >&6; }
1.57 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.60 +cat >>confdefs.h <<_ACEOF
1.61 +#define FORCEINLINE $FORCEINLINE
1.65 { echo "$as_me:$LINENO: checking if we have a working __builtin_frame_address()" >&5
1.66 echo $ECHO_N "checking if we have a working __builtin_frame_address()... $ECHO_C" >&6; };
1.67 if test "$cross_compiling" = yes; then