From: Jarkko Hietaniemi Date: Fri, 12 Feb 1999 12:03:48 +0000 (+0000) Subject: Configure update: OpenBSD thread-awareness, SCO ODT/OSR osvers. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=619ffc2be66f166b301c5b0d14a8bbba728675bc;p=p5sagit%2Fp5-mst-13.2.git Configure update: OpenBSD thread-awareness, SCO ODT/OSR osvers. p4raw-id: //depot/cfgperl@2899 --- diff --git a/Configure b/Configure index ceeac89..92a7e12 100755 --- a/Configure +++ b/Configure @@ -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$$ </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 d6a19ed..ddae299 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 89e106d..70bf0f9 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 4c98ec8..e9d8ea4 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