I have just got around to building 5.003_11 on UnixWare2.1.1,
and I am glad to say that apart from one minor quirk, all the
tests pass OK. The problem is related to a bug in the UW csh,
specifically the glob() builtin which has a bug. Changing
config.sh to make d_csh='undef' results in a 100% clean build
and test.
The following small patch to patches/svr4.sh will work around
this automatically until SCO fix the problem.
Alan Burlison
aburlison@cix.compulink.co.uk
p5p-msgid: <memo.453720@cix.compulink.co.uk>
# other SVR4 derivatives.
d_lstat=define
+# UnixWare has a broken csh. The undocumented -X argument to uname is probably
+# a reasonable way of detecting UnixWare
+uw_ver=`uname -v`
+uw_isuw=`uname -X 2>&1 | grep Release`
+if [ "$uw_isuw" = "Release = 4.2MP" -a \
+ \( "$uw_ver" = "2.1" -o "$uw_ver" = "2.1.1" \) ]; then
+ d_csh='undef'
+fi
+
cat <<'EOM' >&4
If you wish to use dynamic linking, you must use