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>
1 http://bugs.gentoo.org/196245
2 http://sourceware.org/ml/libc-alpha/2006-05/msg00017.html
4 Attached is a patch to add __attribute__ ((noinline)) to
7 Without this patch, the sec script that processed initfini.s removes a
8 part of inlined call_gmon_start, causing undefined label errors.
10 This patch solves the problem by forcing gcc not to inline
11 call_gmon_start with __attribute__ ((noinline)).
13 Tested by building for arm-none-lixux-gnueabi. OK to apply?
17 2006-05-07 Kazu Hirata <kazu@codesourcery.com>
19 * sysdeps/generic/initfini.c (call_gmon_start): Add
20 __attribute__ ((noinline)).
22 Index: sysdeps/generic/initfini.c
23 ===================================================================
25 diff -durN glibc-2.10.1.orig/sysdeps/generic/initfini.c glibc-2.10.1/sysdeps/generic/initfini.c
26 --- glibc-2.10.1.orig/sysdeps/generic/initfini.c 2007-06-17 20:02:40.000000000 +0200
27 +++ glibc-2.10.1/sysdeps/generic/initfini.c 2009-11-13 00:50:09.000000000 +0100
29 /* The beginning of _init: */
30 asm ("\n/*@_init_PROLOG_BEGINS*/");
33 +static void __attribute__ ((noinline))
36 extern void __gmon_start__ (void) __attribute__ ((weak)); /*weak_extern (__gmon_start__);*/