~crimsun/alsa-lib/ubuntu.new

« back to all changes in this revision

Viewing changes to debian/patches/configure_cross_compile.patch

  • Committer: Daniel T Chen
  • Date: 2009-12-24 08:56:08 UTC
  • mfrom: (47.1.3 ubuntu.new)
  • Revision ID: crimsun@errno-20091224085608-07eju5mmgn0k1fsn
Tags: 1.0.22-0ubuntu1
Merge lp:~crimsun/alsa-lib/ubuntu.new/ ; upload 1.0.22-0ubuntu1 to Lucid

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# configure_cross_compile.patch by Loic Minier <lool@dooz.org>
2
 
# Remove check that the compiler produces executables we can run. 
3
 
Index: alsa-lib-1.0.21/configure
4
 
===================================================================
5
 
--- alsa-lib-1.0.21.orig/configure      2009-09-03 20:33:46.000000000 +0200
6
 
+++ alsa-lib-1.0.21/configure   2009-09-03 20:33:46.000000000 +0200
7
 
@@ -3515,7 +3515,7 @@
8
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
9
 
 $as_echo_n "checking whether the C compiler works... " >&6; }
10
 
 # If not cross compiling, check that we can run a simple program.
 
1
# configure_cross_compile.patch by Daniel T Chen <crimsun@ubuntu.com>
 
2
# based on prior work by Loic Minier <lool@dooz.org>
 
3
# Remove check that the compiler produces executables we can run.
 
4
diff -uNr alsa-lib-1.0.22.pre/configure alsa-lib-1.0.22/configure
 
5
--- alsa-lib-1.0.22.pre/configure       2009-12-24 07:11:53.000000000 +0000
 
6
+++ alsa-lib-1.0.22/configure   2009-12-24 07:17:23.000000000 +0000
 
7
@@ -3598,7 +3598,7 @@
 
8
 # the compiler is broken, or we cross compile.
 
9
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 
10
 $as_echo_n "checking whether we are cross compiling... " >&6; }
11
11
-if test "$cross_compiling" != yes; then
12
12
+if false && test "$cross_compiling" != yes; then
13
 
   if { ac_try='./$ac_file'
14
 
   { { case "(($ac_try" in
 
13
   { { ac_try="$ac_link"
 
14
 case "(($ac_try" in
15
15
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;