summaryrefslogtreecommitdiff
path: root/hints
diff options
context:
space:
mode:
authorAndy Dougherty <doughera@lafayette.edu>1998-04-14 09:04:58 -0400
committerMalcolm Beattie <mbeattie@sable.ox.ac.uk>1998-05-14 15:09:51 +0000
commitc4f23d77f4b3486a36335c4460cbfd4e81e37892 (patch)
treec0a1326984d277a8c25f70e7f81765e8a96dcf11 /hints
parent13c745c007f7ab4c05f0dd76e12e5a70c8c0e95b (diff)
downloadperl-c4f23d77f4b3486a36335c4460cbfd4e81e37892.tar.gz
[PATCH for 5.004_64] Configure patch Config_64-01
Date: Tue, 14 Apr 1998 13:04:58 -0400 (EDT) Subject: [PATCH for 5.004_64] Configure patch Config_64-01-02.diff Date: Fri, 17 Apr 1998 11:01:13 -0400 (EDT) Subject: [PATCH for 5.004_64] Configure patch Config_64-02-03.diff Date: Thu, 23 Apr 1998 15:03:20 -0400 (EDT) Subject: [PATCH 5.004_64] Config_64-03-04.diff Date: Wed, 13 May 1998 14:33:30 -0400 (EDT) p4raw-id: //depot/perl@948
Diffstat (limited to 'hints')
-rw-r--r--hints/beos.sh45
-rw-r--r--hints/dos_djgpp.sh15
-rw-r--r--hints/netbsd.sh5
-rw-r--r--hints/solaris_2.sh20
-rw-r--r--hints/unicos.sh9
-rw-r--r--hints/unicosmk.sh9
6 files changed, 84 insertions, 19 deletions
diff --git a/hints/beos.sh b/hints/beos.sh
new file mode 100644
index 0000000000..d8d4fd0515
--- /dev/null
+++ b/hints/beos.sh
@@ -0,0 +1,45 @@
+# BeOS hints file
+# $Id: beos.sh,v 1.1 1998/02/16 03:51:45 dogcow Exp $
+
+if [ ! -f ../beos/nm ]; then mwcc -w all -o ../beos/nm ../beos/nm.c; fi
+
+prefix="/boot/home/config"
+
+cpp="mwcc -e"
+
+libpth='/boot/beos/system/lib /boot/home/config/lib'
+usrinc='/boot/develop/headers/posix'
+locinc='/boot/develop/headers/ /boot/home/config/include'
+
+libc='/boot/beos/system/lib/libroot.so'
+libs=' '
+
+d_bcmp='define'
+d_bcopy='define'
+d_bzero='define'
+d_index='define'
+#d_htonl='define' # It exists, but much hackery would be required to support.
+# a bunch of extra includes would have to be added, and it's only used at
+# one place in the non-socket perl code.
+
+#these are all in libdll.a, which my version of nm doesn't know how to parse.
+#if I can get it to both do that, and scan multiple library files, perhaps
+#these can be gotten rid of.
+
+usemymalloc='n'
+# Hopefully, Be's malloc knows better than perl's.
+
+d_link='undef'
+dont_use_nlink='define'
+# no posix (aka hard) links for us!
+
+d_syserrlst='undef'
+# the array syserrlst[] is useless for the most part.
+# large negative numbers really kind of suck in arrays.
+
+#d_socket='undef'
+# Sockets really don't work with the current version of perl and the
+# current BeOS sockets; I suspect that a new module a la GSAR's WIN32 port
+# will be required.
+
+export PATH="$PATH:$PWD/beos"
diff --git a/hints/dos_djgpp.sh b/hints/dos_djgpp.sh
index ae6a7cab4c..73bae63dd2 100644
--- a/hints/dos_djgpp.sh
+++ b/hints/dos_djgpp.sh
@@ -7,7 +7,7 @@
archname='dos-djgpp'
archobjs='djgpp.o'
path_sep=\;
-startsh="#!sh"
+startsh="#! /bin/sh"
cc='gcc'
ld='gcc'
@@ -23,8 +23,6 @@ firstmakefile='GNUmakefile'
exe_ext='.exe'
randbits=31
-
-ln='cp' # no REAL ln on dos
lns='cp'
usenm='true'
@@ -54,17 +52,6 @@ sitearch=$sitelib
eagain='EAGAIN'
rd_nodata='-1'
-: set up the translation script tr
-
-cat > UU/tr <<EOSC
-$startsh
-case "\$1\$2" in
-'[A-Z][a-z]') exec tr.exe '[:upper:]' '[:lower:]';;
-'[a-z][A-Z]') exec tr.exe '[:lower:]' '[:upper:]';;
-esac
-exec tr.exe "\$@"
-EOSC
-
if [ "X$usethreads" = "X$define" ]; then
set `echo X "$libswanted "| sed -e 's/ c / gthreads c /'`
shift
diff --git a/hints/netbsd.sh b/hints/netbsd.sh
index 787f0f13bb..8bc6c1227b 100644
--- a/hints/netbsd.sh
+++ b/hints/netbsd.sh
@@ -64,3 +64,8 @@ case "$osvers" in
d_setruid="$undef"
;;
esac
+
+# vfork is ok on NetBSD.
+case "$usevfork" in
+'') usevfork=true ;;
+esac
diff --git a/hints/solaris_2.sh b/hints/solaris_2.sh
index 047e4cf3b7..744b131fad 100644
--- a/hints/solaris_2.sh
+++ b/hints/solaris_2.sh
@@ -123,8 +123,10 @@ cat > UU/cc.cbu <<'EOSH'
# If the C compiler is gcc:
# - check the fixed-includes
# - check as(1) and ld(1), they should not be GNU
+# (GNU ad and ld 2.8.1 and later are reportedly ok, however.)
# If the C compiler is not gcc:
# - check as(1) and ld(1), they should not be GNU
+# (GNU ad and ld 2.8.1 and later are reportedly ok, however.)
#
# Watch out in case they have not set $cc.
@@ -236,9 +238,25 @@ if [ "X$usethreads" = "X$define" ]; then
# as -lgdbm and such like. We assume here that -lc is present in
# libswanted. If that fails to be true in future, then this can be
# changed to add pthread to the very end of libswanted.
- set `echo X "$libswanted "| sed -e 's/ c / pthread c /'`
+ # sched_yield is in -lposix4
+ set `echo X "$libswanted "| sed -e 's/ c / posix4 pthread c /'`
shift
libswanted="$*"
+
+ # On Solaris 2.6 x86 there is a bug with sigsetjmp() and siglongjmp()
+ # when linked with the threads library, such that whatever positive value
+ # you pass to siglongjmp(), sigsetjmp() returns 1.
+ # Thanks to Simon Parsons <S.Parsons@ftel.co.uk> for this report.
+ if test "`arch`" = i86pc -a "$osvers" = 2.6; then
+ d_sigaction=$undef
+ cat << 'EOM' >&2
+
+You will see a *** WHOA THERE!!! *** message from Configure for
+d_sigaction. Keep the recommended value. See hints/solaris_2.sh
+for more information.
+
+EOM
+ fi
fi
# This is just a trick to include some useful notes.
diff --git a/hints/unicos.sh b/hints/unicos.sh
index 7579eed65a..111cbb9fc7 100644
--- a/hints/unicos.sh
+++ b/hints/unicos.sh
@@ -1,10 +1,13 @@
case `uname -r` in
6.1*) shellflags="-m+65536" ;;
esac
-optimize="-O1"
+case "$optimize" in
+'') optimize="-O1" ;;
+esac
d_setregid='undef'
d_setreuid='undef'
case "$usemymalloc" in
-'') usemymalloc='y' ;;
+'') usemymalloc='y'
+ ccflags="$ccflags -DNO_RCHECK"
+ ;;
esac
-
diff --git a/hints/unicosmk.sh b/hints/unicosmk.sh
index 90784b5b39..f0b63cb0eb 100644
--- a/hints/unicosmk.sh
+++ b/hints/unicosmk.sh
@@ -1,3 +1,10 @@
-optimize="-O1"
+case "$optimize" in
+'') optimize="-O1" ;;
+esac
d_setregid='undef'
d_setreuid='undef'
+case "$usemymalloc" in
+'') usemymalloc='y'
+ ccflags="$ccflags -DNO_RCHECK"
+ ;;
+esac