Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 70514 | Differences between
and this patch

Collapse All | Expand All

(-)file_not_specified_in_diff (-3 / +15 lines)
Line  Link Here
0
-- ltmain.sh.orig
0
++ ltmain.sh
Lines 532-539 Link Here
532
	  if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$0" > /dev/null; then
532
	  if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$0" > /dev/null; then
533
	    # Evaluate the configuration.
533
	    # Evaluate the configuration.
534
	    eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $0`"
534
	    eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $0`"
535
	    # user sometimes does CC=<HOST>-gcc so we need to match that to 'gcc'
536
	    trimedcc="${CC/${host}-}"
535
	    case "$base_compile " in
537
	    case "$base_compile " in
536
	    "$CC "* | " $CC "* | "`$echo $CC` "* | " `$echo $CC` "*)
538
	    "gcc "* | " gcc "* | "${host}-gcc "* | " ${host}-gcc "*)
539
	    tagname=CC
540
	    break ;;
541
	    "$CC "* | " $CC "* | "`$echo $CC` "* | " `$echo $CC` "*|\
542
	    "$trimedcc "* | " $trimedcc "* | "`$echo $trimedcc` "* | " `$echo $trimedcc` "*)
537
	      # The compiler in the base compile command matches
543
	      # The compiler in the base compile command matches
538
	      # the one in the tagged configuration.
544
	      # the one in the tagged configuration.
539
	      # Assume this is the tagged configuration we want.
545
	      # Assume this is the tagged configuration we want.
Lines 1636-1643 Link Here
1636
	  if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$0" > /dev/null; then
1642
	  if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$0" > /dev/null; then
1637
	    # Evaluate the configuration.
1643
	    # Evaluate the configuration.
1638
	    eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $0`"
1644
	    eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $0`"
1645
	    # user sometimes does CC=<HOST>-gcc so we need to match that to 'gcc'
1646
	    trimedcc="${CC/${host}-}"
1639
	    case $base_compile in
1647
	    case $base_compile in
1640
	    "$CC "* | " $CC "* | "`$echo $CC` "* | " `$echo $CC` "*)
1648
	    "gcc "* | " gcc "* | "${host}-gcc "* | " ${host}-gcc "*)
1649
	    tagname=CC
1650
	    break ;;
1651
	    "$CC "* | " $CC "* | "`$echo $CC` "* | " `$echo $CC` "*|\
1652
	    "$trimedcc "* | " $trimedcc "* | "`$echo $trimedcc` "* | " `$echo $trimedcc` "*)
1641
	      # The compiler in $compile_command matches
1653
	      # The compiler in $compile_command matches
1642
	      # the one in the tagged configuration.
1654
	      # the one in the tagged configuration.
1643
	      # Assume this is the tagged configuration we want.
1655
	      # Assume this is the tagged configuration we want.

Return to bug 70514