config/libc/mingw.in.2
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Wed May 04 00:04:23 2011 +0200 (2011-05-04)
changeset 2608 aa09a36c3d36
parent 2018 860de6018501
permissions -rw-r--r--
scripts/functions: test for decompressors before use

./configure does check for the presence of gz and bzip2, so we can
safely use them in the build scripts.

On the other hand, more recent formats (eg. XZ) are not yet widely
available, and we do not want, and can't, force the user to install
them as a pre-requisite.

So, build up a list of allowed tarball formats based on the available
decompressors. For no, this is a static list, but the upcoming XZ
support will conditionnaly add to this list.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
     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