--- sane-frontends-1.0.14/configure Fri May 20 03:17:42 2011
+++ sane-frontends-1.0.14/configure Fri May 20 03:17:47 2011
@@ -1817,6 +1817,8 @@
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
# If not cross compiling, check that we can run a simple program.
+tmpval=$cross_compiling
+cross_compiling=yes
if test "$cross_compiling" != yes; then
if { ac_try='./$ac_file'
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
@@ -1842,6 +1844,7 @@
echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
+cross_compiling=$tmpval
rm -f a.out a.exe conftest$ac_cv_exeext b.out
ac_clean_files=$ac_clean_files_save
# Check the compiler produces executables we can run. If not, either