diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1998-10-15 03:09:58 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1998-10-15 03:09:58 +0000 |
commit | 1cfa4ec74d4933da0d98282eed6171cc7ac307b6 (patch) | |
tree | 16e2d6216053294709570ec219063df3229545f4 /hints/hpux.sh | |
parent | 1e2878e610af032604518a9feca8663968d7369a (diff) | |
download | perl-1cfa4ec74d4933da0d98282eed6171cc7ac307b6.tar.gz |
check in all confperl changes as of change#1964 into cfgperl
p4raw-link: @1964 on //depot/confperl: 2d85315bb227e0962a693eaaadc3f40ca2fbf49b
p4raw-id: //depot/cfgperl@1971
Diffstat (limited to 'hints/hpux.sh')
-rw-r--r-- | hints/hpux.sh | 22 |
1 files changed, 5 insertions, 17 deletions
diff --git a/hints/hpux.sh b/hints/hpux.sh index 912ec12ecd..c139d4694b 100644 --- a/hints/hpux.sh +++ b/hints/hpux.sh @@ -160,23 +160,6 @@ if [ "$xxOsRevMajor" -eq 10 -a "X$usethreads" = "X$define" ]; then selecttype='int *' fi -# Under 10.X, a threaded perl can be built, but it needs -# libcma and OLD_PTHREADS_API. Also <pthread.h> needs to -# be #included before any other includes (in perl.h) -if [ "$xxOsRevMajor" -eq 10 -a "X$usethreads" = "X$define" ]; then - # HP-UX 10.X uses the old pthreads API - case "$d_oldpthreads" in - '') d_oldpthreads="$define" ;; - esac - # include libcma before all the others - libswanted="cma $libswanted" - # tell perl.h to include <pthread.h> before other include files - ccflags="$ccflags -DPTHREAD_H_FIRST" - # CMA redefines select to cma_select, and cma_select expects int * - # instead of fd_set * (just like 9.X) - selecttype='int *' -fi - # Remove bad libraries that will cause problems # (This doesn't remove libraries that don't actually exist) # -lld is unneeded (and I can't figure out what it's used for anyway) @@ -250,4 +233,9 @@ EOM exit 1 fi ccflags="$ccflags +DD64 -D_FILE_OFFSET_BITS=64" + ldflags="$ldflags +DD64" + ld=/usr/bin/ld + set `echo " $libswanted " | sed -e 's@ dl @ @'` + libswanted="$*" + glibpth="/lib/pa20_64" fi |