config/companion_libs/mpc.in
author "Yann E. MORIN" <yann.morin.1998@free.fr>
Wed Jun 25 23:33:01 2014 +0200 (2014-06-25)
changeset 3325 069f43a215cc
parent 3220 2685dfa9de14
permissions -rw-r--r--
all: fix wildcard to work with make-4.x

In make-3.8x, the $(wildacrd) function would sort the entries,
while in make-4.x, it would just return the entries in any
unpredictable order [*]

Use the $(sort) function to get reproducible behaviour.

[*] Well, most probably the roder the entries appear when read
from readdir()

Reported-by: Andrew Ruder <andrew.ruder@elecsyscorp.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Tested-by: Andrew Ruder <andrew.ruder@elecsyscorp.com>
yann@1384
     1
# MPC options
yann@1384
     2
yann@1384
     3
choice
yann@1384
     4
    bool
yann@1384
     5
    prompt "MPC version"
yann@1535
     6
# Don't remove next line
yann@1535
     7
# CT_INSERT_VERSION_BELOW
yann@1384
     8
danielrubiob@3284
     9
config MPC_V_1_0_2
danielrubiob@3284
    10
    bool
danielrubiob@3284
    11
    prompt "1.0.2"
danielrubiob@3284
    12
danielrubiob@3220
    13
config MPC_V_1_0_1
danielrubiob@3220
    14
    bool
danielrubiob@3220
    15
    prompt "1.0.1"
danielrubiob@3220
    16
danielrubiob@3220
    17
config MPC_V_1_0
danielrubiob@3220
    18
    bool
danielrubiob@3220
    19
    prompt "1.0"
danielrubiob@3220
    20
yann@2319
    21
config MPC_V_0_9
yann@2319
    22
    bool
yann@2957
    23
    prompt "0.9"
yann@2319
    24
yann@1985
    25
config MPC_V_0_8_2
yann@1985
    26
    bool
yann@2957
    27
    prompt "0.8.2"
yann@2957
    28
yann@1695
    29
config MPC_V_0_8_1
yann@1695
    30
    bool
yann@1783
    31
    prompt "0.8.1"
yann@1695
    32
yann@1534
    33
config MPC_V_0_7
yann@1534
    34
    bool
yann@1534
    35
    prompt "0.7"
yann@1534
    36
yann@1384
    37
endchoice
yann@1384
    38
yann@1384
    39
config MPC_VERSION
yann@1384
    40
    string
yann@1535
    41
# Don't remove next line
yann@1535
    42
# CT_INSERT_VERSION_STRING_BELOW
danielrubiob@3284
    43
    default "1.0.2" if MPC_V_1_0_2
danielrubiob@3220
    44
    default "1.0.1" if MPC_V_1_0_1
danielrubiob@3220
    45
    default "1.0" if MPC_V_1_0
yann@2319
    46
    default "0.9" if MPC_V_0_9
yann@1985
    47
    default "0.8.2" if MPC_V_0_8_2
yann@1695
    48
    default "0.8.1" if MPC_V_0_8_1
yann@1534
    49
    default "0.7" if MPC_V_0_7