diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 1998-11-02 11:07:34 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 1998-11-02 11:07:34 +0000 |
commit | bc7f168bb73cba32db370bbcde1be14a357b5bd8 (patch) | |
tree | 7320e435c4a43c9b8975e0b2810a97140f06f8f5 /hints/hpux.sh | |
parent | d0f88fcc9c7c03c807a5815903c49287c8492866 (diff) | |
download | perl-bc7f168bb73cba32db370bbcde1be14a357b5bd8.tar.gz |
In HP-UX 10.X usethreads only if the required files are present.
p4raw-id: //depot/cfgperl@2180
Diffstat (limited to 'hints/hpux.sh')
-rw-r--r-- | hints/hpux.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/hints/hpux.sh b/hints/hpux.sh index c139d4694b..fa0d7fc1fc 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 <<EOM >&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" ;; |