From: H.Merijn Brand Date: Sun, 14 Apr 2002 16:29:59 +0000 (+0200) Subject: [ PATCH ] time problem on 10.20 w/ threads X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=5a5efdd74d69e0ee088e66c1e22626b07bd53d40;p=p5sagit%2Fp5-mst-13.2.git [ PATCH ] time problem on 10.20 w/ threads From: "H.Merijn Brand" Message-Id: <20020414143200.07BC.H.M.BRAND@hccnet.nl> p4raw-id: //depot/perl@15906 --- diff --git a/hints/hpux.sh b/hints/hpux.sh index 043ee79..b4c862e 100644 --- a/hints/hpux.sh +++ b/hints/hpux.sh @@ -488,8 +488,18 @@ EOM # tell perl.h to include 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"