1.1 --- a/tools/addToolVersion.sh Fri Jul 13 12:22:34 2007 +0000
1.2 +++ b/tools/addToolVersion.sh Wed Aug 29 16:46:23 2007 +0000
1.3 @@ -43,6 +43,7 @@
1.4 VERSION=
1.5 EXP=
1.6 OBS=
1.7 +prompt_suffix=
1.8
1.9 i=1
1.10 while [ $i -le $# ]; do
1.11 @@ -60,8 +61,8 @@
1.12 --ltrace) cat=LTRACE; tool=ltrace; tool_prefix=debug/ tool_suffix=;;
1.13 --libelf) cat=LIBELF; tool=libelf; tool_prefix=tools/ tool_suffix=;;
1.14 # Tools options:
1.15 - -x|--experimental) EXP=1; OBS=;;
1.16 - -o|--obsolete) OBS=1; EXP=;;
1.17 + -x|--experimental) EXP=1; OBS=; prompt_suffix=" (EXPERIMENTAL)";;
1.18 + -o|--obsolete) OBS=1; EXP=; prompt_suffix=" (OBSOLETE)";;
1.19 --core) CORE=1; FINAL=;;
1.20 --final) FINAL=1; CORE=;;
1.21 --install) tool_suffix=install;;
1.22 @@ -94,7 +95,7 @@
1.23 TOOL_SUFFIX="`echo \"${tool_suffix}\" |tr [[:lower:]] [[:upper:]]`"
1.24 L1="config ${cat}_${TOOL_SUFFIX}_V_${v}\n"
1.25 L2=" bool\n"
1.26 - L3=" prompt \"${ver}\"\n"
1.27 + L3=" prompt \"${ver}${prompt_suffix}\"\n"
1.28 # Extra versions are not necessary visible:
1.29 case "${tool_suffix},${ver}" in
1.30 sanitised,*) ;; # Sanitised headers always have an extra version
1.31 @@ -105,7 +106,7 @@
1.32 else
1.33 L1="config ${cat}${MIDDLE_V}_V_${v}\n"
1.34 L2=" bool\n"
1.35 - L3=" prompt \"${ver}\"\n"
1.36 + L3=" prompt \"${ver}${prompt_suffix}\"\n"
1.37 L5=" default \"${ver}\" if ${cat}${MIDDLE_V}_V_${v}"
1.38 FILE="config/${tool_prefix}${MIDDLE_F}${tool}.in"
1.39 fi