diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2002-03-16 17:52:29 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2002-03-16 17:52:29 +0000 |
commit | a48ec845cbd27881b821dcb9bb80e52ba093c5f2 (patch) | |
tree | 9db559767d80004cf807399bb10413179b5105fd /hints/linux.sh | |
parent | c04a4dfec532b91f76755cfa4d008128d04c69cb (diff) | |
download | perl-a48ec845cbd27881b821dcb9bb80e52ba093c5f2.tar.gz |
More paranoid _r protochecking. At least Tru64 and
Linux need additional hinting help to believe that
the time_r protos exist; turn on FreeBSD _THREAD_SAFE
to see what goes bang.
p4raw-id: //depot/perl@15257
Diffstat (limited to 'hints/linux.sh')
-rw-r--r-- | hints/linux.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/hints/linux.sh b/hints/linux.sh index 90bcb78c58..e1c2c28baf 100644 --- a/hints/linux.sh +++ b/hints/linux.sh @@ -253,6 +253,14 @@ $define|true|[yY]*) set `echo X "$libswanted "| sed -e 's/ c / pthread c /'` shift libswanted="$*" + # Somehow at least in Debian 2.2 these manage to escape + # the #define forest of <features.h> and <time.h> so that + # the hasproto macro of Configure doesn't see these protos, + # regardless of the -D_GNU_SOURCE that should turn on everything. + d_asctime_r_proto="$define" + d_ctime_r_proto="$define" + d_gmtime_r_proto="$define" + d_localtime_r_proto="$define" ;; esac EOCBU |