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 [PATCH]: Add strtouq alias (to strtoul) for 64bit
3 The strtouq alias was only available on 32bit, breaking compilation of stuff
4 using strtouq on 64bit machines. At the same time use the correct return
7 Signed-of-by: Peter Korsgaard <jacmet@sunsite.dk>
9 include/stdlib.h | 4 +++-
10 libc/stdlib/stdlib.c | 1 +
11 2 files changed, 4 insertions(+), 1 deletion(-)
13 Index: uClibc-0.9.30.1/libc/stdlib/stdlib.c
14 ===================================================================
15 --- uClibc-0.9.30.1.orig/libc/stdlib/stdlib.c
16 +++ uClibc-0.9.30.1/libc/stdlib/stdlib.c
18 libc_hidden_proto(__XL_NPP(strtoull))
19 strong_alias(__XL_NPP(strtoul),__XL_NPP(strtoull))
20 libc_hidden_def(__XL_NPP(strtoull))
21 +#if !defined(L_strtoul_l)
22 +strong_alias(strtoul,strtouq)
27 Index: uClibc-0.9.30.1/include/stdlib.h
28 ===================================================================
29 --- uClibc-0.9.30.1.orig/include/stdlib.h
30 +++ uClibc-0.9.30.1/include/stdlib.h
35 +#include <sys/types.h> /* for u_quad_t */
37 /* Convert a string to a quadword integer. */
39 extern long long int strtoq (__const char *__restrict __nptr,
41 __THROW __nonnull ((1)) __wur;
42 /* Convert a string to an unsigned quadword integer. */
44 -extern unsigned long long int strtouq (__const char *__restrict __nptr,
45 +extern u_quad_t strtouq (__const char *__restrict __nptr,
46 char **__restrict __endptr, int __base)
47 __THROW __nonnull ((1)) __wur;
48 #endif /* GCC and use BSD. */