From 1cfa4ec74d4933da0d98282eed6171cc7ac307b6 Mon Sep 17 00:00:00 2001 From: Gurusamy Sarathy Date: Thu, 15 Oct 1998 03:09:58 +0000 Subject: check in all confperl changes as of change#1964 into cfgperl p4raw-link: @1964 on //depot/confperl: 2d85315bb227e0962a693eaaadc3f40ca2fbf49b p4raw-id: //depot/cfgperl@1971 --- hints/hpux.sh | 22 +++++----------------- 1 file changed, 5 insertions(+), 17 deletions(-) (limited to 'hints/hpux.sh') 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 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 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 -- cgit v1.2.1