config/debug/dmalloc.in
author Anthony Foiani <anthony.foiani@gmail.com>
Thu Apr 26 19:55:59 2012 -0600 (2012-04-26)
changeset 2939 58974be61289
parent 1844 4d6a56579d9d
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 # dmalloc debug facility
     2 
     3 ## depends on ! BACKEND
     4 ##
     5 ## help dmalloc helps tracking memory allocation mis-usage
     6 ## help such as double-free, use-after-free...
     7 
     8 choice
     9     bool
    10     prompt "dmalloc version"
    11 # Don't remove next line
    12 # CT_INSERT_VERSION_BELOW
    13 
    14 config DMALLOC_V_5_5_2
    15     bool
    16     prompt "5.5.2"
    17 
    18 endchoice
    19 
    20 config DMALLOC_VERSION
    21     string
    22 # Don't remove next line
    23 # CT_INSERT_VERSION_STRING_BELOW
    24     default "5.5.2" if DMALLOC_V_5_5_2