diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 1999-02-12 12:03:48 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 1999-02-12 12:03:48 +0000 |
commit | 619ffc2be66f166b301c5b0d14a8bbba728675bc (patch) | |
tree | 39dafaff61f31c383ce4f2ac796283ec2c118e32 | |
parent | a48abc44380b16821695ec705c8c8f3bfb09db6c (diff) | |
download | perl-619ffc2be66f166b301c5b0d14a8bbba728675bc.tar.gz |
Configure update: OpenBSD thread-awareness, SCO ODT/OSR osvers.
p4raw-id: //depot/cfgperl@2899
-rwxr-xr-x | Configure | 11 | ||||
-rw-r--r-- | Porting/config.sh | 7 | ||||
-rw-r--r-- | Porting/config_H | 2 | ||||
-rw-r--r-- | hints/openbsd.sh | 10 |
4 files changed, 24 insertions, 6 deletions
@@ -20,7 +20,7 @@ # $Id: Head.U,v 3.0.1.9 1997/02/28 15:02:09 ram Exp $ # -# Generated on Mon Feb 8 16:55:49 EET 1999 [metaconfig 3.0 PL70] +# Generated on Fri Feb 12 13:46:36 EET 1999 [metaconfig 3.0 PL70] # (with additional metaconfig patches by perlbug@perl.com) cat >/tmp/c1$$ <<EOF @@ -2075,7 +2075,11 @@ EOM [23]100) osname=mips ;; next*) osname=next ;; i386*) - if $test -f /etc/kconfig; then + tmp=`/bin/uname -X 2>/dev/null|awk -e '/3\.2v[45]/{ print $(NF) }'` + if $test "$tmp" != "" -a "$3" = "3.2" -a test -e '/etc/systemid'; then + osname='sco' + osvers=$tmp + elif $test -f /etc/kconfig; then osname=isc if test "$lns" = "ln -s"; then osvers=4 @@ -2085,6 +2089,7 @@ EOM osvers=2 fi fi + unset tmp ;; pc*) if test -n "$DJGPP"; then @@ -2515,7 +2520,7 @@ case "$usethreads" in . ./usethreads.cbu fi case "$osname" in - aix|dec_osf|dos_djgpp|freebsd|hpux|irix|linux|os2|solaris|vmesa) + aix|dec_osf|dos_djgpp|freebsd|hpux|irix|linux|openbsd|os2|solaris|vmesa) # Known thread-capable platforms. ;; *) diff --git a/Porting/config.sh b/Porting/config.sh index d6a19ed3bc..ddae299003 100644 --- a/Porting/config.sh +++ b/Porting/config.sh @@ -8,7 +8,7 @@ # Package name : perl5 # Source directory : . -# Configuration time: Mon Feb 8 01:11:15 EET 1999 +# Configuration time: Fri Feb 12 13:48:44 EET 1999 # Configured by : jhi # Target system : osf1 alpha.hut.fi v4.0 878 alpha @@ -52,9 +52,10 @@ cc='cc' cccdlflags=' ' ccdlflags=' ' ccflags='-pthread -std -D__LANGUAGE_C__' +ccsymbols='__LANGUAGE_C__=1 _LONGLONG=1 LANGUAGE_C=1 SYSTYPE_BSD=1' cf_by='jhi' cf_email='yourname@yourhost.yourplace.com' -cf_time='Mon Feb 8 01:11:15 EET 1999' +cf_time='Fri Feb 12 13:48:44 EET 1999' chgrp='' chmod='' chown='' @@ -66,11 +67,13 @@ cp='cp' cpio='' cpp='cpp' cpp_stuff='42' +cppccsymbols='__alpha=1 __osf__=1 __unix__=1 _SYSTYPE_BSD=1 unix=1' cppflags='-pthread -std -D__LANGUAGE_C__' cpplast='' cppminus='' cpprun='/usr/bin/cpp' cppstdin='cppstdin' +cppsymbols='' cryptlib='' csh='csh' d_Gconvert='gcvt((x),(n),(b))' diff --git a/Porting/config_H b/Porting/config_H index 89e106d06f..70bf0f9388 100644 --- a/Porting/config_H +++ b/Porting/config_H @@ -17,7 +17,7 @@ /* * Package name : perl5 * Source directory : . - * Configuration time: Mon Feb 8 01:11:15 EET 1999 + * Configuration time: Fri Feb 12 13:48:44 EET 1999 * Configured by : jhi * Target system : osf1 alpha.hut.fi v4.0 878 alpha */ diff --git a/hints/openbsd.sh b/hints/openbsd.sh index 4c98ec8587..e9d8ea483d 100644 --- a/hints/openbsd.sh +++ b/hints/openbsd.sh @@ -48,4 +48,14 @@ d_suidsafe='define' # Allow a command-line override, such as -Doptimize=-g test "$optimize" || optimize='-O2' +# This script UU/usethreads.cbu will get 'called-back' by Configure +# after it has prompted the user for whether to use threads. +cat > UU/usethreads.cbu <<'EOCBU' +case "$usethreads" in +$define|true|[yY]*) + # any openbsd version dependencies with pthreads? + libswanted="$libswanted pthread" +esac +EOCBU + # end |