--- configure.in_orig 2009-06-18 16:36:49.000000000 -0400 +++ configure.in 2009-07-09 14:55:09.846231085 -0400 @@ -116,6 +116,10 @@ # Check for broken snprintf if test "x$ac_cv_func_snprintf" = "xyes" ; then AC_MSG_CHECKING([whether snprintf correctly terminates long strings]) +if test "x$cross_compiling" = "xyes"; then + AC_MSG_RESULT(yes) + AC_MSG_WARN([cannot run snprintf test when cross-compiling, assuming true!!]) +else AC_TRY_RUN( [ #include @@ -129,6 +133,7 @@ ] ) fi +fi # Cheap hack to ensure NEWS-OS libraries are arranged right. if test ! -z "$SONY" ; then