patches/binutils/2.17a/200-cross-gprof.patch
author Anthony Foiani <anthony.foiani@gmail.com>
Thu Apr 26 19:55:59 2012 -0600 (2012-04-26)
changeset 2939 58974be61289
parent 747 d3e603e7c17c
permissions -rw-r--r--
Allow multi-word "install" command.

Autoconf can determine that the correct install command includes flags,
e.g., "/usr/bin/install -c". When using this as a command, we can't
enclose the value in double-quotes, as that makes some shells use the
whole expression as a filename:

# this is the value returned by autoconf and stored in CT_install
$ ins="/usr/bin/install -c"

# if we call it with quotes, the command is not found
$ "${ins}"
bash: /usr/bin/install -c: No such file or directory

# removing the quotes lets it work as expected
$ ${ins}
/usr/bin/install: missing file operand
Try `/usr/bin/install --help' for more information.

Signed-Off-By: Anthony Foiani <anthony.foiani@gmail.com>
yann@56
     1
--- binutils-2.17/configure.old	2004-07-21 21:36:47.000000000 -0700
yann@56
     2
+++ binutils-2.17/configure	2004-07-21 21:37:08.000000000 -0700
yann@56
     3
@@ -1022,7 +1022,7 @@
yann@56
     4
 
yann@56
     5
 # Some tools are only suitable for building in a "native" situation.
yann@56
     6
 # Remove these if host!=target.  
yann@56
     7
-native_only="autoconf automake libtool fileutils find gawk gettext gzip hello indent m4 rcs recode sed shellutils tar textutils uudecode wdiff gprof target-groff guile perl time ash bash bzip2 prms gnuserv target-gperf"
yann@56
     8
+native_only="autoconf automake libtool fileutils find gawk gettext gzip hello indent m4 rcs recode sed shellutils tar textutils uudecode wdiff target-groff guile perl time ash bash bzip2 prms gnuserv target-gperf"
yann@56
     9
 
yann@56
    10
 # Similarly, some are only suitable for cross toolchains.
yann@56
    11
 # Remove these if host=target.
yann@56
    12
--- binutils-2.17/configure.in.old	2004-07-21 21:37:19.000000000 -0700
yann@56
    13
+++ binutils-2.17/configure.in	2004-07-21 21:37:34.000000000 -0700
yann@56
    14
@@ -227,7 +227,7 @@
yann@56
    15
 
yann@56
    16
 # Some tools are only suitable for building in a "native" situation.
yann@56
    17
 # Remove these if host!=target.  
yann@56
    18
-native_only="autoconf automake libtool fileutils find gawk gettext gzip hello indent m4 rcs recode sed shellutils tar textutils uudecode wdiff gprof target-groff guile perl time ash bash bzip2 prms gnuserv target-gperf"
yann@56
    19
+native_only="autoconf automake libtool fileutils find gawk gettext gzip hello indent m4 rcs recode sed shellutils tar textutils uudecode wdiff target-groff guile perl time ash bash bzip2 prms gnuserv target-gperf"
yann@56
    20
 
yann@56
    21
 # Similarly, some are only suitable for cross toolchains.
yann@56
    22
 # Remove these if host=target.