From 055be0b80e0d5ab4109104cbf7a5f5379033e671 Mon Sep 17 00:00:00 2001 From: Alan Burlison Date: Wed, 11 Dec 1996 18:34:00 +1300 Subject: [PATCH] 5.003_11 on UnixWare 2.1.1 - Only one small UnixWare buglet 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: --- hints/svr4.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/hints/svr4.sh b/hints/svr4.sh index 5569274..c91e13e 100644 --- a/hints/svr4.sh +++ b/hints/svr4.sh @@ -32,6 +32,15 @@ usevfork='false' # 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 -- 2.7.4