diff options
author | Andy Dougherty <doughera@lafcol.lafayette.edu> | 1996-02-28 16:49:33 -0800 |
---|---|---|
committer | Andy Dougherty <doughera@lafcol.lafayette.edu> | 1996-02-28 16:49:33 -0800 |
commit | a5f75d667838e8e7bb037880391f5c44476d33b4 (patch) | |
tree | 5005e888355c1508bc47da697efe119c1615b123 /hints | |
parent | 2920c5d2b358b11ace52104b6944bfa0e89256a7 (diff) | |
download | perl-a5f75d667838e8e7bb037880391f5c44476d33b4.tar.gz |
perl 5.002perl-5.002
[editor's note: changes seem to be mostly module updates,
documentation changes and some perl API macro additions]
Diffstat (limited to 'hints')
-rw-r--r-- | hints/aix.sh | 2 | ||||
-rw-r--r-- | hints/hpux.sh | 2 | ||||
-rw-r--r-- | hints/linux.sh | 1 | ||||
-rw-r--r-- | hints/os2.sh | 4 | ||||
-rw-r--r-- | hints/sco.sh | 28 | ||||
-rw-r--r-- | hints/svr4.sh | 6 |
6 files changed, 31 insertions, 12 deletions
diff --git a/hints/aix.sh b/hints/aix.sh index 6a4c585eb6..a9f277eed1 100644 --- a/hints/aix.sh +++ b/hints/aix.sh @@ -15,6 +15,8 @@ d_setruid='undef' alignbytes=8 +usemymalloc='n' + # Make setsockopt work correctly. See man page. # ccflags='-D_BSD=44' diff --git a/hints/hpux.sh b/hints/hpux.sh index 2c3126dbb4..0f8d33c6ae 100644 --- a/hints/hpux.sh +++ b/hints/hpux.sh @@ -24,7 +24,7 @@ ldflags="$ldflags" # ANSI C (the -Aa flag) nor can it produce shared libraries. Thus we have # to turn off dynamic loading. case "$cc" in -'') if cc $ccflags -Aa 2>&1 | $contains 'Unknown option "A"' >/dev/null +'') if cc $ccflags -Aa 2>&1 | $contains 'option' >/dev/null then case "$usedl" in '') usedl="$undef" diff --git a/hints/linux.sh b/hints/linux.sh index 3dedb33e14..cbeafcb5de 100644 --- a/hints/linux.sh +++ b/hints/linux.sh @@ -82,6 +82,7 @@ EOM ccflags="-DOVR_DBL_DIG=14 $ccflags" so='sa' dlext='o' + nm_so_opt=' ' ## If you are using DLD 3.2.4 which does not support shared libs, ## uncomment the next two lines: #ldflags="-static" diff --git a/hints/os2.sh b/hints/os2.sh index c9726656b8..d4fb71df2a 100644 --- a/hints/os2.sh +++ b/hints/os2.sh @@ -84,10 +84,6 @@ usedl='define' #cppflags='-DDOSISH -DOS2=2 -DEMBED -I.' -# This variables taken from recommended config.sh -# [Does Configure get it wrong?] -alignbytes='8' - # for speedup: (some patches to ungetc are also needed): # Note that without this guy tests 8 and 10 of io/tell.t fail, with it 11 fails diff --git a/hints/sco.sh b/hints/sco.sh index 5e8a6b0939..307e27e4db 100644 --- a/hints/sco.sh +++ b/hints/sco.sh @@ -1,7 +1,19 @@ # sco_3.sh # Courtesy of Joel Rosi-Schwartz <joel@ftechne.co.uk> -# To use gcc, do Configure -Dcc=gcc -# +# Additional SCO version info from +# Peter Wolfe <wolfe@teloseng.com> +# Last revised +# Tue Feb 13 09:09:10 EST 1996 + +# To use gcc, use sh Configure -Dcc=gcc + +# figure out what SCO version we are: +case `uname -X | egrep '^Release'` in +*3.2v4.2) scorls=3 ;; +*3.2v5.*) scorls=5 ;; +*) scorls=3 ;; # this probabaly shouldn't happen +esac + # Try to use libintl.a since it has strcoll and strxfrm libswanted="intl $libswanted" # Try to use libdbm.nfs.a since it has dbmclose. @@ -12,11 +24,11 @@ fi set X $libswanted shift libswanted="$*" -# + # We don't want Xenix cross-development libraries glibpth=`echo $glibpth | sed -e 's! /usr/lib/386 ! !' -e 's! /lib/386 ! !'` xlibpth='' -# + case "$cc" in gcc) ccflags="$ccflags -U M_XENIX" @@ -24,10 +36,12 @@ gcc) ;; scocc) ;; -*) - # Apparently, SCO's cc gives rather verbose warnings +*) # Apparently, SCO's cc gives rather verbose warnings # Set -w0 to turn them off. - ccflags="$ccflags -w0 -U M_XENIX" + case $scorls in + 3) ccflags="$ccflags -W0 -quiet -U M_XENIX" ;; + 5) ccflags="$ccflags -w0 -U M_XENIX" ;; + esac ;; esac i_varargs=undef diff --git a/hints/svr4.sh b/hints/svr4.sh index f4664d9366..5569274753 100644 --- a/hints/svr4.sh +++ b/hints/svr4.sh @@ -26,6 +26,12 @@ if [ -r /usr/ucblib/libucb.a ]; then # If using BSD-compat. library: fi d_suidsafe='define' # "./Configure -d" can't figure this out easilly usevfork='false' + +# Configure may fail to find lstat() since it's a static/inline +# function in <sys/stat.h> on Unisys U6000 SVR4, and possibly +# other SVR4 derivatives. +d_lstat=define + cat <<'EOM' >&4 If you wish to use dynamic linking, you must use |