diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 1999-01-09 16:17:13 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 1999-01-09 16:17:13 +0000 |
commit | b691c02f8c79b7bac4a606da95849c0c7bcae239 (patch) | |
tree | 58e1c96422c191363218ef456d5221d698bafbdf /hints/irix_6.sh | |
parent | 11b8faa4b88ddb655238bb84b542f78345a7d7bb (diff) | |
download | perl-b691c02f8c79b7bac4a606da95849c0c7bcae239.tar.gz |
Move usethreads and use64bits logic from hints to Configure.
p4raw-id: //depot/cfgperl@2592
Diffstat (limited to 'hints/irix_6.sh')
-rw-r--r-- | hints/irix_6.sh | 83 |
1 files changed, 0 insertions, 83 deletions
diff --git a/hints/irix_6.sh b/hints/irix_6.sh index 515a94fd36..8f4dbd64af 100644 --- a/hints/irix_6.sh +++ b/hints/irix_6.sh @@ -161,86 +161,3 @@ set `echo X "$libswanted "|sed -e 's/ sun / /' -e 's/ crypt / /' -e 's/ bsd / /' shift libswanted="$*" -if [ "X$usethreads" = "X$define" -o "X$usethreads" = "Xy" ]; then - if test ! -f ${TOOLROOT}/usr/include/pthread.h -o ! -f /usr/lib/libpthread.so; then - uname_r=`uname -r` - case "`uname -r`" in - 5*|6.0|6.1) - echo >&4 "IRIX $uname_r does not have the POSIX threads." - echo >&4 "You should upgrade to at least IRIX 6.2 with pthread patches." - echo >&4 "Cannot continue, aborting." - exit 1 - ;; - 6.2) - echo >&4 "" -cat >&4 <<EOF -IRIX 6.2 $uname_r can have the POSIX threads. -The following IRIX patches (or their replacements) must, however, be installed: - - 1404 Irix 6.2 Posix 1003.1b man pages - 1645 IRIX 6.2 & 6.3 POSIX header file updates - 2000 Irix 6.2 Posix 1003.1b support modules - 2254 Pthread library fixes - 2401 6.2 all platform kernel rollup -IMPORTANT: - Without patch 2401, a kernel bug in IRIX 6.2 will - cause your machine to panic and crash when running - threaded perl. IRIX 6.3 and up should be OK. - - -Cannot continue, aborting. -EOF - exit 1 - ;; - 6.*|7.*) - echo >&4 "IRIX $uname_r should have the POSIX threads." - echo >&4 "But somehow you do not seem to have them installed." - echo >&4 "Cannot continue, aborting." - exit 1 - ;; - esac - unset uname_r - fi - # -lpthread needs to come before -lc but after other libraries such - # as -lgdbm and such like. We assume here that -lc is present in - # libswanted. If that fails to be true in future, then this can be - # changed to add pthread to the very end of libswanted. - set `echo X "$libswanted "| sed -e 's/ c / pthread /'` - ld="${cc:-cc}" - shift - libswanted="$*" - usemymalloc='n' -fi - -# 64-bitness. -# jhi@iki.fi, inspired by Scott Henry. - -if [ "X$use64bits" = "X$define" ]; then - uname_r=`uname -r` - case "$uname_r" in - [1-5]*|6.[01]) - echo >&4 "IRIX $uname_r does not support 64-bit types." - echo >&4 "You should upgrade to at least IRIX 6.2." - exit 1 - ;; - esac - case "$ccflags" in - *-n32*) - ccflags="$ccflags -DUSE_LONG_LONG" - archname64="-n32" - d_open64="$undef" - # In -n32 mode (ILP32LL64) we use the standard open(). - # In -64 we will use the open64(). - cat << 'EOM' >&2 - -You will see a *** WHOA THERE!!! *** message from Configure for -d_open64. Keep the recommended value. See hints/irix6.sh -for more information. - -EOM - ;; - *-64*) - ;; - esac - ccflags="$ccflags -DUSE_64_BIT_FILES" -fi |