From: Alan Burlison Date: Wed, 11 Dec 1996 05:34:00 +0000 (+1300) Subject: 5.003_11 on UnixWare 2.1.1 - Only one small UnixWare buglet X-Git-Tag: accepted/trunk/20130322.191538~38041^2~595 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=055be0b80e0d5ab4109104cbf7a5f5379033e671;p=platform%2Fupstream%2Fperl.git 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: --- 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