config/companion_libs/ppl.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sat Mar 06 16:05:20 2010 +0100 (2010-03-06)
changeset 1820 55adc838cd68
parent 1386 7995942261f2
child 2072 72b3996ba3e6
permissions -rw-r--r--
debug/ltrace: fix building on x86

ltrace uses i386 and x86_64, whereas crosstool-NG use x86 for both cases.
Fix that by detecting what bitness we're building for, and pass appropriate
i386 or x86_64 to ltrace's configure.
yann@1324
     1
# PPL options
yann@1324
     2
yann@1324
     3
choice
yann@1324
     4
    bool
yann@1324
     5
    prompt "PPL version"
yann@1535
     6
# Don't remove next line
yann@1535
     7
# CT_INSERT_VERSION_BELOW
yann@1324
     8
yann@1324
     9
config PPL_V_0_10_2
yann@1324
    10
    bool
yann@1324
    11
    prompt "0.10.2"
yann@1324
    12
yann@1324
    13
endchoice
yann@1324
    14
yann@1324
    15
config PPL_VERSION
yann@1324
    16
    string
yann@1535
    17
# Don't remove next line
yann@1535
    18
# CT_INSERT_VERSION_STRING_BELOW
yann@1324
    19
    default "0.10.2" if PPL_V_0_10_2