summaryrefslogtreecommitdiff
path: root/hints
diff options
context:
space:
mode:
authorH.Merijn Brand <h.m.brand@xs4all.nl>2002-04-14 18:29:59 +0200
committerJarkko Hietaniemi <jhi@iki.fi>2002-04-14 14:00:03 +0000
commit5a5efdd74d69e0ee088e66c1e22626b07bd53d40 (patch)
treef4a02d11e02e2a8be0a4ed45e85ab0a43d494a34 /hints
parent87a010a9c0acee8f29e595c5624ae438d2be0b71 (diff)
downloadperl-5a5efdd74d69e0ee088e66c1e22626b07bd53d40.tar.gz
[ PATCH ] time problem on 10.20 w/ threads
From: "H.Merijn Brand" <h.m.brand@hccnet.nl> Message-Id: <20020414143200.07BC.H.M.BRAND@hccnet.nl> p4raw-id: //depot/perl@15906
Diffstat (limited to 'hints')
-rw-r--r--hints/hpux.sh12
1 files changed, 11 insertions, 1 deletions
diff --git a/hints/hpux.sh b/hints/hpux.sh
index 043ee79a95..b4c862e1e7 100644
--- a/hints/hpux.sh
+++ b/hints/hpux.sh
@@ -488,8 +488,18 @@ EOM
# tell perl.h to include <pthread.h> before other
# include files
ccflags="$ccflags -DPTHREAD_H_FIRST"
-# First column on purpose.
+# First column on purpose:
+# this is not a standard Configure variable
+# but we need to get this noticed.
pthread_h_first="$define"
+
+ # HP-UX 10.X seems to have no easy
+ # way of detecting these *time_r protos.
+ d_gmtime_r_proto='define'
+ gmtime_r_proto='REENTRANT_PROTO_I_TS'
+ d_localtime_r_proto='define'
+ localtime_r_proto='REENTRANT_PROTO_I_TS'
+
# Avoid the poisonous conflicting (and irrelevant)
# prototypes of setkey().
i_crypt="$undef"