summaryrefslogtreecommitdiff
path: root/hints/linux.sh
diff options
context:
space:
mode:
authorNick Ing-Simmons <nik@tiuk.ti.com>2002-03-21 07:21:57 +0000
committerNick Ing-Simmons <nik@tiuk.ti.com>2002-03-21 07:21:57 +0000
commitd6b7ef8642dbff7f74dde11fd4995a37e8f38c04 (patch)
tree514a910b6cf95741dcc0cfcb9c933516785d103b /hints/linux.sh
parent4cbf5a93b15a5783cbe69de6f4f935df308853d2 (diff)
downloadperl-d6b7ef8642dbff7f74dde11fd4995a37e8f38c04.tar.gz
Integrate mainline (Win2k/MinGW all ok except threads/t/end.t)
p4raw-id: //depot/perlio@15382
Diffstat (limited to 'hints/linux.sh')
-rw-r--r--hints/linux.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/hints/linux.sh b/hints/linux.sh
index e1c2c28baf..4c40980cb5 100644
--- a/hints/linux.sh
+++ b/hints/linux.sh
@@ -249,18 +249,22 @@ esac
cat > UU/usethreads.cbu <<'EOCBU'
case "$usethreads" in
$define|true|[yY]*)
- ccflags="-D_GNU_SOURCE -D_REENTRANT $ccflags"
+ ccflags="-D_REENTRANT -D_GNU_SOURCE $ccflags"
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.
+ # even with the -D_GNU_SOURCE.
+
d_asctime_r_proto="$define"
+ d_crypt_r_proto="$define"
d_ctime_r_proto="$define"
d_gmtime_r_proto="$define"
d_localtime_r_proto="$define"
+
;;
esac
EOCBU