config/libc/mingw.in.2
author Anthony Foiani <anthony.foiani@gmail.com>
Thu Apr 26 19:55:59 2012 -0600 (2012-04-26)
changeset 2939 58974be61289
parent 2018 860de6018501
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 # Part-2 of mingw C library options: development libraries
     2 
     3 config MINGW_DIRECTX
     4     bool
     5     prompt "Include DirectX development files"
     6 
     7 config MINGW_OPENGL
     8     bool
     9     prompt "Include OpenGL development files"
    10 
    11 config MINGW_PDCURSES
    12     bool
    13     prompt "Include PDCurses (NCurses library) development files"
    14 
    15 choice
    16     bool
    17     prompt "PDCurses library version"
    18     depends on MINGW_PDCURSES
    19 
    20 config MINGW_PDCURSES_V_3_4
    21     bool
    22     prompt "3.4"
    23 
    24 # CT_INSERT_VERSION_ABOVE
    25 # Don't remove above line!
    26 
    27 config MINGW_PDCURSES_V_select
    28     bool
    29     prompt "Other version"
    30 
    31 endchoice
    32 
    33 config MINGW_PDCURSES_VERSION
    34     string
    35     prompt "PDCurses library version" if MINGW_PDCURSES_V_select
    36     default "3.4" if MINGW_PDCURSES_V_3_4
    37 # CT_INSERT_VERSION_STRING_ABOVE
    38 # Don't remove above line!
    39     help
    40       Enter the version number of the PDCurses library to use
    41 
    42 config MINGW_GNURX
    43     bool
    44     prompt "Include GnuRX (regex library) development files"
    45 
    46 choice
    47     bool
    48     prompt "GnuRX library version"
    49     depends on MINGW_GNURX
    50 
    51 config MINGW_GNURX_V_2_5_1
    52     bool
    53     prompt "2.5.1"
    54 
    55 # CT_INSERT_VERSION_ABOVE
    56 # Don't remove above line!
    57 
    58 config MINGW_GNURX_V_select
    59     bool
    60     prompt "Other version"
    61 
    62 endchoice
    63 
    64 config MINGW_GNURX_VERSION
    65     string
    66     prompt "GnuRX library version" if MINGW_GNURX_V_select
    67     default "2.5.1" if MINGW_GNURX_V_2_5_1
    68 # CT_INSERT_VERSION_STRING_ABOVE
    69 # Don't remove above line!
    70     help
    71       Enter the version number of the Regex library to use
    72