config/companion_libs/libelf.in
author Anthony Foiani <anthony.foiani@gmail.com>
Thu Apr 26 19:55:59 2012 -0600 (2012-04-26)
changeset 2939 58974be61289
parent 1873 4477403726db
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>
     1 # libelf config file
     2 
     3 choice
     4     bool
     5     prompt "libelf version"
     6 # Don't remove next line
     7 # CT_INSERT_VERSION_BELOW
     8 
     9 config LIBELF_V_0_8_13
    10     bool
    11     prompt "0.8.13"
    12 
    13 config LIBELF_V_0_8_12
    14     bool
    15     prompt "0.8.12"
    16 
    17 endchoice
    18 
    19 config LIBELF_VERSION
    20     string
    21 # Don't remove next line
    22 # CT_INSERT_VERSION_STRING_BELOW
    23     default "0.8.13" if LIBELF_V_0_8_13
    24     default "0.8.12" if LIBELF_V_0_8_12