summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xConfigure11
-rw-r--r--Porting/config.sh7
-rw-r--r--Porting/config_H2
-rw-r--r--hints/openbsd.sh10
4 files changed, 24 insertions, 6 deletions
diff --git a/Configure b/Configure
index ceeac895ac..92a7e12fc4 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$$ <<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