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 --- a/extra/scripts/unifdef.c
2 +++ b/extra/scripts/unifdef.c
4 static void error(const char *);
5 static int findsym(const char *);
6 static void flushline(bool);
7 -static Linetype getline(void);
8 +static Linetype get_line(void);
9 static Linetype ifeval(const char **);
10 static void ignoreoff(void);
11 static void ignoreon(void);
16 - lineval = getline();
17 + lineval = get_line();
18 trans_table[ifstate[depth]][lineval]();
19 debug("process %s -> %s depth %d",
20 linetype_name[lineval],
22 * help from skipcomment().