config/debug/strace.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Jan 17 23:06:02 2010 +0100 (2010-01-17)
changeset 1740 c57458bb354d
parent 1613 c776557f7aac
child 1785 05490fb72d5d
permissions -rw-r--r--
configure: do not require hg when configuring in an hg clone

When configuring in an hg clone, we need hg to compute the version string.
It can happen that users do not have Mercurial (eg. if they got a snapshot
rather that they did a full clone). In this case, we can still run, of
course, so simply fill the version string with a sufficiently explicit
value, that does not require hg. The date is a good candidate.
     1 # strace
     2 
     3 config DEBUG_strace
     4 
     5 choice
     6     bool
     7     prompt "strace version"
     8 # Don't remove next line
     9 # CT_INSERT_VERSION_BELOW
    10 
    11 config STRACE_V_4_5_19
    12     bool
    13     prompt "4.5.19 (EXPERIMENTAL)"
    14     depends on EXPERIMENTAL
    15 
    16 config STRACE_V_4_5_18
    17     bool
    18     prompt "4.5.18"
    19 
    20 config STRACE_V_4_5_17
    21     bool
    22     prompt "4.5.17 (OBSOLETE)"
    23     depends on OBSOLETE
    24 
    25 config STRACE_V_4_5_16
    26     bool
    27     prompt "4.5.16 (OBSOLETE)"
    28     depends on OBSOLETE
    29 
    30 config STRACE_V_4_5_15
    31     bool
    32     prompt "4.5.15 (OBSOLETE)"
    33     depends on OBSOLETE
    34 
    35 endchoice
    36 
    37 config STRACE_VERSION
    38     string
    39 # Don't remove next line
    40 # CT_INSERT_VERSION_STRING_BELOW
    41     default "4.5.19" if STRACE_V_4_5_19
    42     default "4.5.18" if STRACE_V_4_5_18
    43     default "4.5.17" if STRACE_V_4_5_17
    44     default "4.5.16" if STRACE_V_4_5_16
    45     default "4.5.15" if STRACE_V_4_5_15