2
# toolcheck -- check for tools that have severe bugs. Good that all the buggy
3
# tools identify by version numbers. This is the spirit of GNU :-)
8
reply="`sh -version 2>&1 < /dev/null | sed q`"
11
echo "- sh is '$reply'";
12
echo " CAUTION: This shell has a buggy 'trap' command.";
13
echo " The configure script may fail silently.";
16
GNU*1.14.2*|GNU*1.14.4*|GNU*1.13.*)
17
echo "- sh is '$reply' - good.";
19
GNU*) echo "- sh is '$reply'.";
24
reply="`sed --version 2>&1 < /dev/null | sed q`"
26
GNU\ sed\ version\ 2.0[34])
27
echo "- sed is '$reply'";
28
echo " CAUTION: This sed cannot configure screen properly."
31
GNU\ sed\ version\ 2.05|GNU\ sed\ version\ 2.03\ kevin)
32
echo "- sed is '$reply' - good.";
34
GNU*) echo "- sed is '$reply'.";
39
if [ "$retval" != 0 ]; then
40
echo " ***********************************************************"
41
echo " Please fix the above problem before reporting a screen bug!"
42
echo " ***********************************************************"