summaryrefslogtreecommitdiff
path: root/hints
diff options
context:
space:
mode:
authorAndy Dougherty <doughera.lafayette.edu>1995-12-02 03:25:17 +0000
committerAndy Dougherty <doughera.lafayette.edu>1995-12-02 03:25:17 +0000
commit25f94b330371810ad4761e17a4e200e6752044c5 (patch)
treedb359228af3b637f3e3d66b7e60a7c80b3180328 /hints
parentf8881bd9b4aab880d830b06ff42f1da38fceee8a (diff)
downloadperl-25f94b330371810ad4761e17a4e200e6752044c5.tar.gz
This is patch.2b1d to perl5.002beta1.
cd to your perl source directory and type patch -p1 -N < patch.2b1a This patch includes patches for the following items: NETaa14710: Included bsdi_bsdos.sh hint file. pod/perlre.pod: Mention 32bit limit. Configure Updates. Update Socket.xs to version 1.5. This handles systems that might not have <sys/un.h>. Fix missing quotes in h2ph.PL These are each described in detail below, after the corresponding index line. Patch and enjoy, Andy Dougherty doughera@lafcol.lafayette.edu Dept. of Physics Lafayette College, Easton PA 18042
Diffstat (limited to 'hints')
-rw-r--r--hints/bsd386.sh31
-rw-r--r--hints/bsdi_bsdos.sh61
2 files changed, 61 insertions, 31 deletions
diff --git a/hints/bsd386.sh b/hints/bsd386.sh
deleted file mode 100644
index 6a1b8bcd3c..0000000000
--- a/hints/bsd386.sh
+++ /dev/null
@@ -1,31 +0,0 @@
-# hints file for BSD/386 1.x
-# Original by Neil Bowers <neilb@khoros.unm.edu>
-# Tue Oct 4 12:01:34 EDT 1994
-#
-# filename extension for shared libraries
-so='o'
-
-d_voidsig='define'
-sig_name='ZERO HUP INT QUIT ILL TRAP IOT EMT FPE KILL BUS SEGV SYS PIPE ALRM TERM URG STOP TSTP CONT CHLD TTIN TTOU IO XCPU XFSZ VTALRM PROF WINCH INFO USR1 USR2 '
-signal_t='void'
-
-# we don't want to use -lnm, since exp() is busted in there (in 1.1 anyway)
-set `echo X "$libswanted "| sed -e 's/ nm / /'`
-shift
-libswanted="$*"
-
-# Avoid telldir prototype conflict in pp_sys.c (BSD/386 uses const DIR *)
-pp_sys_cflags='ccflags="$ccflags -DHAS_TELLDIR_PROTOTYPE"'
-
-# Avoid problems with HUGE_VAL in POSIX in 1.0's cc.
-# Use gcc2 (2.5.8) if available in 1.1.
-case "$osvers" in
-1.0*)
- POSIX_cflags='ccflags="$ccflags -UHUGE_VAL"'
- ;;
-1.1*)
- case "$cc" in
- '') cc=gcc2 ;;
- esac
- ;;
-esac
diff --git a/hints/bsdi_bsdos.sh b/hints/bsdi_bsdos.sh
new file mode 100644
index 0000000000..2ee178cc59
--- /dev/null
+++ b/hints/bsdi_bsdos.sh
@@ -0,0 +1,61 @@
+# hints/bsdi_bsdos.sh
+#
+# hints file for BSD/OS 2.x (adapted from bsd386.sh)
+# Original by Neil Bowers <neilb@khoros.unm.edu>
+# Tue Oct 4 12:01:34 EDT 1994
+# Updated by Tony Sanders <sanders@bsdi.com>
+# Mon Mar 13 12:17:24 CST 1995
+#
+# You can override the compiler and loader on the Configure command line:
+# ./Configure -Dcc=gcc -Dld=ld
+
+# filename extension for shared library objects
+so='o'
+
+d_voidsig='define'
+signal_t='void'
+
+# If Configure's signal detection fails, uncomment this line.
+# sig_name='ZERO HUP INT QUIT ILL TRAP IOT EMT FPE KILL BUS SEGV SYS PIPE ALRM TERM URG STOP TSTP CONT CHLD TTIN TTOU IO XCPU XFSZ VTALRM PROF WINCH INFO USR1 USR2 '
+
+d_dosuid='define'
+
+# we don't want to use -lnm, since exp() is busted in there (in 1.1 anyway)
+set `echo X "$libswanted "| sed -e 's/ nm / /'`
+shift
+libswanted="$*"
+
+# Avoid telldir prototype conflict in pp_sys.c (BSD/386 uses const DIR *)
+pp_sys_cflags='ccflags="$ccflags -DHAS_TELLDIR_PROTOTYPE"'
+
+case "$osvers" in
+1.0*)
+ # Avoid problems with HUGE_VAL in POSIX in 1.0's cc.
+ POSIX_cflags='ccflags="$ccflags -UHUGE_VAL"'
+ ;;
+1.1*)
+ # Use gcc2 (2.5.8) if available in 1.1.
+ case "$cc" in
+ '') cc=gcc2 ;;
+ esac
+ ;;
+2.*)
+ # Use 2.X's gcc2
+ case "$cc" in
+ '') cc=gcc2 ;;
+ esac
+
+ # Link with shared libraries in 2.X
+ case "$ld" in
+ '') ld='shlicc' ;;
+ esac
+
+ # setre?[ug]id() have been replaced by the _POSIX_SAVED_IDS stuff
+ # in 4.4BSD-based systems (including BSD/OS 2.0 and later).
+ # See http://www.bsdi.com/bsdi-man?setuid(2)
+ d_setregid='undef'
+ d_setreuid='undef'
+ d_setrgid='undef'
+ d_setruid='undef'
+ ;;
+esac