components/sane-frontends/patches/frontend.patch
author Gabriel Carrillo <gabriel.carrillo@oracle.com>
Wed, 11 Jun 2014 09:41:54 -0700
branchs11u1sru20-backport
changeset 3174 3b5835d4aaf3
parent 359 a67615a8f492
permissions -rw-r--r--
Added tag 0.175.1.20.0.5.0, S11.1SRU20.5 for changeset c059623861df

--- 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