From: Michael De La Rue Date: Thu, 17 Apr 1997 00:00:00 +0000 (+0000) Subject: Linux hints: Allow build w/o suidperl, prefer tcsh to csh X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=284c50cc3d3edaeea836b0696473b41df7e01cd4;p=p5sagit%2Fp5-mst-13.2.git Linux hints: Allow build w/o suidperl, prefer tcsh to csh --- diff --git a/Configure b/Configure index a813f96..db1f20c 100755 --- a/Configure +++ b/Configure @@ -794,7 +794,7 @@ case "$sh" in '') cat <&2 $me: Fatal Error: I can't find a Bourne Shell anywhere. Usually it's in /bin/sh. How did you even get this far? -Please contact me (Chip Salzenberg) at chip@atlantic.net and +Please contact me (Chip Salzenberg) at chip@perl.com and we'll try to straigten this all out. EOM exit 1 @@ -1166,7 +1166,7 @@ THIS PACKAGE SEEMS TO BE INCOMPLETE. You have the option of continuing the configuration process, despite the distinct possibility that your kit is damaged, by typing 'y'es. If you do, don't blame me if something goes wrong. I advise you to type 'n'o -and contact the author (chip@atlantic.net). +and contact the author (chip@perl.com). EOM echo $n "Continue? [n] $c" >&4 @@ -1367,7 +1367,7 @@ Much effort has been expended to ensure that this shell script will run on any Unix system. If despite that it blows up on yours, your best bet is to edit Configure and run it again. If you can't run Configure for some reason, you'll have to generate a config.sh file by hand. Whatever problems you -have, let me (chip@atlantic.net) know how I blew it. +have, let me (chip@perl.com) know how I blew it. This installation script affects things in two ways: @@ -1657,7 +1657,7 @@ EOM cd hints; ls -C *.sh | $sed 's/\.sh/ /g' >&4 dflt='' : Half the following guesses are probably wrong... If you have better - : tests or hints, please send them to chip@atlantic.net + : tests or hints, please send them to chip@perl.com : The metaconfig authors would also appreciate a copy... $test -f /irix && osname=irix $test -f /xenix && osname=sco_xenix @@ -4695,8 +4695,8 @@ case "$shrpdir" in *) $cat >&4 <&4 @@ -152,4 +158,33 @@ EOM fi - +# On SPARClinux, +# The following csh consistently coredumped in the test directory +# "/home/mikedlr/perl5.003_94/t", though not most other directories. + +#Name : csh Distribution: Red Hat Linux (Rembrandt) +#Version : 5.2.6 Vendor: Red Hat Software +#Release : 3 Build Date: Fri May 24 19:42:14 1996 +#Install date: Thu Jul 11 16:20:14 1996 Build Host: itchy.redhat.com +#Group : Shells Source RPM: csh-5.2.6-3.src.rpm +#Size : 184417 +#Description : BSD c-shell + +# For this reason I suggest using the much bug-fixed tcsh for globbing +# where available. + +if [ ! "`csh -c 'echo $version' 2>/dev/null`" ] +then + echo 'Real csh found (might break); looking for tcsh ...' + if which tcsh >/dev/null 2>&1 + then + echo 'Found tcsh; will use it for globbing.' + csh='tcsh' + d_csh='tcsh' + full_csh=`which tcsh` # we know this will work now. + else + echo "Couldn't find tcsh. BEWARE BROKEN GLOBBING." + fi +else + echo 'Your csh is really tcsh. Good.' +fi