View | Details | Raw Unified | Return to bug 155546
Collapse All | Expand All

(-)libtool/files/patch-configure (+26 lines)
Line 0 Link Here
1
--- configure.bak	2010-09-22 14:44:17.000000000 +0000
2
+++ configure	2011-03-01 04:23:35.000000000 +0000
3
@@ -27526,7 +27526,9 @@
4
 old_archive_cmds=$lt_old_archive_cmds
5
 
6
 # A language specific compiler.
7
-CC=$lt_compiler
8
+if test -z "\$CC"; then \\
9
+  CC=$lt_compiler
10
+fi
11
 
12
 # Is the compiler the GNU compiler?
13
 with_gcc=$GCC
14
@@ -27872,7 +27874,11 @@
15
 old_archive_cmds=$lt_old_archive_cmds_CXX
16
 
17
 # A language specific compiler.
18
-CC=$lt_compiler_CXX
19
+if test -z "\$CXX"; then \\
20
+  CC=$lt_compiler_CXX
21
+else
22
+  CC=\$CXX
23
+fi
24
 
25
 # Is the compiler the GNU compiler?
26
 with_gcc=$GCC_CXX

Return to bug 155546