From: Jarkko Hietaniemi Date: Mon, 2 Nov 1998 11:07:34 +0000 (+0000) Subject: In HP-UX 10.X usethreads only if the required files are present. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=bc7f168bb73cba32db370bbcde1be14a357b5bd8;p=p5sagit%2Fp5-mst-13.2.git In HP-UX 10.X usethreads only if the required files are present. p4raw-id: //depot/cfgperl@2180 --- diff --git a/hints/hpux.sh b/hints/hpux.sh index c139d46..fa0d7fc 100644 --- a/hints/hpux.sh +++ b/hints/hpux.sh @@ -144,6 +144,16 @@ fi # be #included before any other includes (in perl.h) if [ "$xxOsRevMajor" -eq 10 -a "X$usethreads" = "X$define" ]; then + if [ ! -f /usr/include/pthread.h -o ! -f /usr/lib/libcma.sl ]; then + cat <&4 +In HP-UX 10.X for threads you need both the files +/usr/include/pthread.h and /usr/lib/libcma.sl. + +Either you must install the CMA package or you must upgrade to HP-UX 11. +EOM + exit 1 + fi + # HP-UX 10.X uses the old pthreads API case "$d_oldpthreads" in '') d_oldpthreads="$define" ;;