esac
;;
esac
-
-# BSD/386 has an older <db.h> header file.
-DB_File_cflags='ccflags="$ccflags -DDBXS_HASH_TYPE=int -DDBXS_PREFIX_TYPE=int"'
--- /dev/null
+# convexos.sh
+# Thanks to David Starks-Browning <dstarks@rc.tudelft.nl>
+# Date: Tue, 17 Jan 1995 10:45:03 -0500 (EST)
+# Subject: Re: Hints for ConvexOS 10.2
+#
+# uname -a output looks like
+# ConvexOS xxxx C38xx 10.2 convex
+# Configure may incorrectly assign $3 to $osvers.
+#
+set X $myuname
+shift
+osvers=$4
+# ConvexOS 10.2 uses POSIX process group semantics for getpgrp but
+# BSD semantics for setpgrp. Perl assumes you don't have such
+# a mixed system, so we undef d_getpgrp.
+# Andy Dougherty doughera@lafcol.lafayette.edu
+#
+case "$osvers" in
+10.2) d_getpgrp='undef' ;;
+esac
# hints/dec_osf.sh
-optimize="-g"
+case "$optimize" in
+'') optimize="-g" ;;
+esac
ccflags="$ccflags -DSTANDARD_C -DDEBUGGING"
# Version 1 has problems with -no_archive if only an archive
# lib is available.
case "$cc" in
'') cc='/bin/cc'
test -f $cc || cc='/usr/ccs/bin/cc'
- cccdlflags='-Kpic'
;;
esac
ldflags='-L/usr/ccs/lib -L/usr/ucblib'
libswanted=`echo " $libswanted " | sed -e 's/ malloc / /' `
d_index='undef'
d_suidsafe=define
-lddlflags="-G $ldflags"
usevfork='false'
if test "$osvers" = "3.0"; then
d_gconvert='undef'
fi
rm -f /tmp/esix$$
fi
-# dlopen routines exist but they don't work with perl.
-# The case statement allows experimenters to override hint with
-# Configure -D usedl
-case "$usedl" in
-'') usedl="$undef" ;;
-esac
+
+cat <<'EOM'
+
+If you wish to use dynamic linking, you must use
+ LD_LIBRARY_PATH=`pwd`; export LD_LIBRARY_PATH
+or
+ setenv LD_LIBRARY_PATH `pwd`
+before running make.
+
+EOM
esac
# Avoid telldir prototype conflict in pp_sys.c (FreeBSD uses const DIR *)
pp_sys_cflags='ccflags="$ccflags -DHAS_TELLDIR_PROTOTYPE"'
-# FreeBSD has an older <db.h> header file.
-DB_File_cflags='ccflags="$ccflags -DDBXS_HASH_TYPE=int -DDBXS_PREFIX_TYPE=int"'
i_time='define'
ccflags="$ccflags -D_POSIX_SOURCE -ansiposix -D_BSD_TYPES -Olimit 3000"
lddlflags="-shared"
-case "$usedl" in
-'') usedl='y' ;;
-esac
set `echo X "$libswanted "|sed -e 's/ socket / /' -e 's/ nsl / /' -e 's/ dl / /'`
shift
libswanted="$*"
--- /dev/null
+# irix_6.sh
+# from Krishna Sethuraman, krishna@mit.edu
+# Date: Wed Jan 18 11:40:08 EST 1995
+# added `-32' to force compilation in 32-bit mode.
+# otherwise, copied from irix_5.sh.
+
+# Perl built with this hints file under IRIX 6.0.1 passes
+# all tests (`make test').
+
+i_time='define'
+cc="cc -32"
+ccflags="$ccflags -D_POSIX_SOURCE -ansiposix -D_BSD_TYPES -Olimit 3000"
+lddlflags="-32 -shared"
+set `echo X "$libswanted "|sed -e 's/ socket / /' -e 's/ nsl / /' -e 's/ dl /
+/'`
+shift
+libswanted="$*"
+
+# The following might be of interest if you wish to try 64-bit mode:
+# irix_6.sh
+# Krishna Sethuraman, krishna@mit.edu
+# This will build a 64-bit perl 5 executable under IRIX 6.x.
+# I had to remove socket, sun, crypt, nsl, and dl from the
+# link line because there are no 64-bit libraries with these
+# names (as of IRIX 6.0.1).
+
+# I don't know if this will actually build a fully working perl because I
+# can't tell if the symbols normally provided by these libraries
+# are provided by other libraries which remain on the link line.
+# In any case, perl does build with this file without unresolved
+# symbol complaints.
+
+# i_time='define'
+# ccflags="$ccflags -D_POSIX_SOURCE -ansiposix -D_BSD_TYPES -Olimit 3000"
+# lddlflags="-shared"
+# set `echo X "$libswanted "|sed -e 's/ socket / /' -e 's/ sun / /' -e 's/ crypt / /' -e 's/ nsl / /' -e 's/ dl / /'`
+# shift
+# libswanted="$*"
fi
# we don't set gidtype because unistd.h says gid_t getgid() but man
# page says int getgid() for bsd. utils.c includes unistd.h :-(
-
# svr4 hints, System V Release 4.x
+# Last modified 1994/12/03 by Tye McQueen, tye@metronet.com
# Use Configure -Dcc=gcc to use gcc.
case "$cc" in
'') cc='/bin/cc'
test -f $cc || cc='/usr/ccs/bin/cc'
- cccdlflags='-Kpic' # Probably needed for dynamic loading
;;
esac
test -d /usr/local/man || mansrc='none'
# -lucb: Defines setreuid() and other routines Perl wants but they don't
# add any/much functionality and often won't ld properly.
# -lmalloc: Anyone know what problems this caused?
-if [ "" = "$i_ndbm" -a ! -f /usr/ucblib/libndbm.a ]; then
-# UnixWare 1.1 may install /usr/ucbinclude/ndbm.h w/o /usr/ucblib/libndbm.a
- i_ndbm="$undef" # so Configure tries to build ext/NDBM_File and ld
-fi # can't find dbm_open()! "./Configure -D i_ndbm=define" overrides.
-d_index='undef'
-d_suidsafe=define # "./Configure -d" can't figure this out
-lddlflags="-G $ldflags" # Probably needed for dynamic loading
+d_index='undef' # Even if libucb.a used, use strchr() not index().
+d_suidsafe=define # "./Configure -d" can't figure this out easilly
usevfork='false'
-# dlopen routines exist but they don't work with perl.
-# The case statement allows experimenters to override hint with
-# Configure -D usedl
-case "$usedl" in
-'') usedl="$undef" ;;
-esac
+cat <<'EOM'
+
+If you wish to use dynamic linking, you must use
+ LD_LIBRARY_PATH=`pwd`; export LD_LIBRARY_PATH
+or
+ setenv LD_LIBRARY_PATH `pwd`
+before running make.
+
+EOM
-optimize=-g
-tmp=`(uname -a) 2>/dev/null`
-case "$tmp" in
-*RISC*) cat <<EOF
+# hints/ultrix_4.sh
+# Last updated by Andy Dougherty <doughera@lafcol.lafayette.edu>
+# Wed Nov 2 13:41:14 EST 1994
+#
+# I don't know if -g is really needed. (AD)
+case "$optimize" in
+'') optimize=-g ;;
+esac
+case "$myuname" 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
- case "$tmp" in
+ case "$osvers" in
*4.2*) d_volatile=undef;;
esac
-;;
+ ;;
esac
-case "$tmp" in
+case "$osvers" in
*4.1*) ccflags="$ccflags -DLANGUAGE_C -Olimit 2900"
;;
*4.2*) ccflags="$ccflags -DLANGUAGE_C -Olimit 2900"
libswanted=`echo $libswanted | sed 's/ malloc / /'`
;;
-*4.4*) ccflags="$ccflags -std -Olimit 2900"
+*4.3*) ccflags="$ccflags -std1 -DLANGUAGE_C -Olimit 2900"
+ ;;
+*4*) ccflags="$ccflags -std -Olimit 2900"
ranlib='ranlib'
;;
esac