config/debug/dmalloc.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 1535 073d351bdcd3
child 1844 4d6a56579d9d
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 # dmalloc debug facility
     2 
     3 config DEBUG_dmalloc
     4     bool
     5 
     6 choice
     7     bool
     8     prompt "dmalloc version"
     9 # Don't remove next line
    10 # CT_INSERT_VERSION_BELOW
    11 
    12 config DMALLOC_V_5_5_2
    13     bool
    14     prompt "5.5.2"
    15 
    16 endchoice
    17 
    18 config DMALLOC_VERSION
    19     string
    20 # Don't remove next line
    21 # CT_INSERT_VERSION_STRING_BELOW
    22     default "5.5.2" if DMALLOC_V_5_5_2