config/companion_libs/mpc.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Mon Jul 27 22:16:07 2009 +0200 (2009-07-27)
branchbash_array
changeset 1476 eded63022651
parent 1384 b23f3c2e0c73
child 1531 d173907c6c7e
permissions -rw-r--r--
[libc-eglibc] Rewrite part of the code

Rewrite part of the code to better match the rest.
Most notably, rewrite handling of:
if [ ... ] && [ ... ]
to:
if [ ... -a ... ]

This has the positive side effect of calling "[" only once, although
"[" is probably a shell built-in.
     1 # MPC options
     2 
     3 choice
     4     bool
     5     prompt "MPC version"
     6 
     7 config MPC_V_0_6
     8     bool
     9     prompt "0.6"
    10 
    11 # CT_INSERT_VERSION_ABOVE
    12 # Don't remove above line!
    13 endchoice
    14 
    15 config MPC_VERSION
    16     string
    17     default "0.6" if MPC_V_0_6
    18 # CT_INSERT_VERSION_STRING_ABOVE
    19 # Don't remove above line!