Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site sdcrdcf.UUCP Path: utzoo!linus!philabs!cmcl2!seismo!harvard!talcott!panda!genrad!decvax!ittvax!dcdwest!sdcsvax!sdcrdcf!lwall From: lwall@sdcrdcf.UUCP (Larry Wall) Newsgroups: net.sources.bugs Subject: rn 4.3 patch #7 Message-ID: <1968@sdcrdcf.UUCP> Date: Mon, 13-May-85 20:35:38 EDT Article-I.D.: sdcrdcf.1968 Posted: Mon May 13 20:35:38 1985 Date-Received: Thu, 16-May-85 07:46:26 EDT Organization: System Development Corp. R+D, Santa Monica Lines: 393 System: rn version 4.3 Patch #: 7 Priority: HIGH Subject: various fixes for configure and make stuff From: jimt@bmcg.UUCP (Jim Tollefson) Description: Make on System V has to have a space before a \ that continues a line--apparently it turns two tokens into one if you don't put the space and you get an "unexpected done" when you install. Certain libraries and include files are not found if they aren't in /usr/lib or /usr/include. Also, re-running Configure can have problems if the "contains" variable is defined to 'egrep', since egrep thinks '+' is special. Note: if the last patch sequence below doesn't find config.sh, just interrupt and you're done. Fix: From rn, say "| patch -d DIR", where DIR is your rn source directory. Outside of rn, say "cd DIR; patch Patch #: 7 Index: Makefile.SH Prereq: 4.3 *** Makefile.SH.old Mon May 13 17:22:15 1985 --- Makefile.SH Mon May 13 17:22:17 1985 *************** *** 3,9 esac echo "Extracting Makefile (with variable substitutions)" cat >Makefile <Makefile </dev/null; then termlib='-ltermlib' havetlib=define $echo "Termlib library found." --- 1034,1042 ----- havetlib=define $echo "Terminfo library found." else ! ans=`loc libtermlib.a x /usr/lib /usr/local/lib /lib` ! case "$ans" in ! /usr/lib*|/lib*) termlib='-ltermlib' havetlib=define $echo "Termlib library found." *************** *** 1037,1044 termlib='-ltermlib' havetlib=define $echo "Termlib library found." ! else ! if loc libtermcap.a x /usr/lib /usr/local/lib /lib >/dev/null; then termlib='-ltermcap' havetlib=define $echo "Termcap library found." --- 1040,1055 ----- termlib='-ltermlib' havetlib=define $echo "Termlib library found." ! ;; ! /*) ! termlib="$ans" ! havetlib=define ! $echo "Termlib library found." ! ;; ! *) ! ans=`loc libtermcap.a x /usr/lib /usr/local/lib /lib` ! case "$ans" in ! /usr/lib*|/lib*) termlib='-ltermcap' havetlib=define $echo "Termcap library found." *************** *** 1042,1048 termlib='-ltermcap' havetlib=define $echo "Termcap library found." ! else case "$termlib" in '') $echo $n "Your system appears to NOT have termlib-style routines. Is this true? [y] $c" --- 1053,1065 ----- termlib='-ltermcap' havetlib=define $echo "Termcap library found." ! ;; ! /*) ! termlib="$ans" ! havetlib=define ! $echo "Termcap library found." ! ;; ! *) case "$termlib" in '') $echo $n "Your system appears to NOT have termlib-style routines. Is this true? [y] $c" *************** *** 1064,1071 *) $echo "You said termlib was $termlib before." ;; esac ! fi ! fi fi : see if there is a whoami file --- 1081,1090 ----- *) $echo "You said termlib was $termlib before." ;; esac ! ;; ! esac ! ;; ! esac fi : see if there is a whoami file *************** *** 1201,1207 jobslib='-ljobs' else if bsd; then ! $echo "No jobs library found. (I suppose this is 4.2...)" else $echo "No jobs library found. (That's okay, we all have our faults.)" fi --- 1220,1226 ----- jobslib='-ljobs' else if bsd; then ! $echo "No jobs library found. (I suppose this is at least 4.2...)" else $echo "No jobs library found. (That's okay, we all have our faults.)" fi *************** *** 1212,1218 : see if there are directory access routines out there if $test -r /usr/lib/libndir.a || $test -r /usr/local/lib/libndir.a ; then $echo "Ndir library found." ! ndirlib='-lndir' libndir=define usendir=undef ndirc='' --- 1231,1241 ----- : see if there are directory access routines out there if $test -r /usr/lib/libndir.a || $test -r /usr/local/lib/libndir.a ; then $echo "Ndir library found." ! if $test -r /usr/lib/libndir.a; then ! ndirlib='-lndir' ! else ! ndirlib="/usr/local/lib/libndir.a" ! fi libndir=define usendir=undef ndirc='' Index: makedepend.SH Prereq: 4.3 *** makedepend.SH.old Mon May 13 15:59:22 1985 --- makedepend.SH Mon May 13 15:59:24 1985 *************** *** 4,10 echo "Extracting makedepend (with variable substitutions)" $spitshell >makedepend <makedepend <