summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/perl/hints/bsdos.sh
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1999-04-29 22:53:00 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1999-04-29 22:53:00 +0000
commitc25c5c3c87d89b68324dc98b7c8aaabc750c7cec (patch)
tree2943af9b1f84d88d863a9ba36a234877561bf5f0 /gnu/usr.bin/perl/hints/bsdos.sh
parent37583d269f066aa8aa04ea18126b188d12257e6d (diff)
perl5.005_03 (stock)
Diffstat (limited to 'gnu/usr.bin/perl/hints/bsdos.sh')
-rw-r--r--gnu/usr.bin/perl/hints/bsdos.sh13
1 files changed, 5 insertions, 8 deletions
diff --git a/gnu/usr.bin/perl/hints/bsdos.sh b/gnu/usr.bin/perl/hints/bsdos.sh
index 53adfa3b501..c54a0c1606b 100644
--- a/gnu/usr.bin/perl/hints/bsdos.sh
+++ b/gnu/usr.bin/perl/hints/bsdos.sh
@@ -3,7 +3,7 @@
# hints file for BSD/OS (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>; Sat Aug 23 12:47:45 MDT 1997
-# Added 3.1 with ELF dynamic libraries
+# Added 3.1 with ELF dynamic libraries (NOT in 3.1 yet. Estimated for 4.0)
# SYSV IPC tested Ok so I re-enabled.
#
# To override the compiler on the command line:
@@ -33,9 +33,6 @@ libswanted="$*"
glibpth="$glibpth /usr/X11/lib"
ldflags="$ldflags -L/usr/X11/lib"
-# Avoid telldir prototype conflict in pp_sys.c
-pp_sys_cflags='ccflags="$ccflags -DHAS_TELLDIR_PROTOTYPE"'
-
case "$optimize" in
'') optimize='-O2' ;;
esac
@@ -69,7 +66,7 @@ case "$osvers" in
'') cc='gcc2' ;;
esac
;;
-2.0*|2.1*|3.0*)
+2.0*|2.1*|3.0*|3.1*)
so='o'
# default to GCC 2.X w/shared libraries
@@ -88,14 +85,14 @@ case "$osvers" in
libswanted="Xpm Xaw Xmu Xt SM ICE Xext X11 $libswanted"
libswanted="rpc curses termcap $libswanted"
;;
-3.1*)
- # ELF dynamic link libraries starting in 3.1
+4.0*)
+ # ELF dynamic link libraries starting in 4.0 (???)
useshrplib='true'
so='so'
dlext='so'
case "$cc" in
- '') cc='cc' # cc is gcc2 in 3.1
+ '') cc='cc' # cc is gcc2 in 4.0
cccdlflags="-fPIC"
ccdlflags=" " ;;
esac