diff options
Diffstat (limited to 'hints')
-rw-r--r-- | hints/sunos_4_0_1.sh | 5 | ||||
-rw-r--r-- | hints/sunos_4_0_2.sh | 5 | ||||
-rw-r--r-- | hints/svr4.sh | 6 | ||||
-rw-r--r-- | hints/ultrix_3.sh | 14 | ||||
-rw-r--r-- | hints/ultrix_4.sh | 18 | ||||
-rw-r--r-- | hints/vax.sh | 1 |
6 files changed, 40 insertions, 9 deletions
diff --git a/hints/sunos_4_0_1.sh b/hints/sunos_4_0_1.sh index 0cdff54578..7fd8c889cb 100644 --- a/hints/sunos_4_0_1.sh +++ b/hints/sunos_4_0_1.sh @@ -1,4 +1 @@ -echo ': work around botch in SunOS 4.0.1 and 4.0.2' >>../perl.h -echo '#ifndef fputs' >>../perl.h -echo '#define fputs(str,fp) fprintf(fp,"%s",str)' >>../perl.h -echo '#endif' >>../perl.h +$ccflags="$ccflags -DFPUTS_BOTCH" diff --git a/hints/sunos_4_0_2.sh b/hints/sunos_4_0_2.sh index 0cdff54578..7fd8c889cb 100644 --- a/hints/sunos_4_0_2.sh +++ b/hints/sunos_4_0_2.sh @@ -1,4 +1 @@ -echo ': work around botch in SunOS 4.0.1 and 4.0.2' >>../perl.h -echo '#ifndef fputs' >>../perl.h -echo '#define fputs(str,fp) fprintf(fp,"%s",str)' >>../perl.h -echo '#endif' >>../perl.h +$ccflags="$ccflags -DFPUTS_BOTCH" diff --git a/hints/svr4.sh b/hints/svr4.sh new file mode 100644 index 0000000000..eae477e807 --- /dev/null +++ b/hints/svr4.sh @@ -0,0 +1,6 @@ +cc='/bin/cc' +test -f $cc || cc='/usr/ccs/bin/cc' +ldflags='-L/usr/ucblib' +mansrc='/usr/share/man/man1' +ccflags='-I/usr/include -I/usr/ucbinclude' +libswanted=`echo $libswanted | sed 's/ ucb/ c ucb/'` diff --git a/hints/ultrix_3.sh b/hints/ultrix_3.sh index 2057bc683c..0df47231f6 100644 --- a/hints/ultrix_3.sh +++ b/hints/ultrix_3.sh @@ -1,2 +1,14 @@ ccflags="$ccflags -DLANGUAGE_C" -d_waitpid=$undef +tmp="`(uname -a) 2>/dev/null`" +case "$tmp" in +*3.[01]*RISC) d_waitpid=$undef;; +'') d_waitpid=$undef;; +esac +case "$tmp" in +*RISC) + cmd_cflags='optimize="-g"' + perl_cflags='optimize="-g"' + tcmd_cflags='optimize="-g"' + tperl_cflags='optimize="-g"' + ;; +esac diff --git a/hints/ultrix_4.sh b/hints/ultrix_4.sh index 008e1ef82a..ffaf376272 100644 --- a/hints/ultrix_4.sh +++ b/hints/ultrix_4.sh @@ -1 +1,19 @@ ccflags="$ccflags -DLANGUAGE_C -Olimit 2900" +tmp=`(uname -a) 2>/dev/null` +case "$tmp" in +*RISC*) cat <<EOF +Note that there is a bug in some versions of NFS on the DECStation that +may cause utime() to work incorrectly. If so, regression test io/fs +may fail if run under NFS. Ignore the failure. +EOF +;; +esac +case "$tmp" in +*4.1*) + eval_cflags='optimize="-g"' + teval_cflags='optimize="-g"' + toke_cflags='optimize="-g"' + ttoke_cflags='optimize="-g"' + ;; +esac + diff --git a/hints/vax.sh b/hints/vax.sh new file mode 100644 index 0000000000..ea8f224396 --- /dev/null +++ b/hints/vax.sh @@ -0,0 +1 @@ +teval_cflags='case $cc in *gcc);; *) optimize="-O";; esac' |