diff options
author | Andy Dougherty <doughera@lafayette.edu> | 1998-03-03 11:41:16 -0500 |
---|---|---|
committer | Malcolm Beattie <mbeattie@sable.ox.ac.uk> | 1998-03-05 19:09:16 +0000 |
commit | 693762b493165ab96822ef2342af62f74dc0367b (patch) | |
tree | 3627087dfd4bdd21c3a4e303b875d4af19dd8e0a /hints/linux.sh | |
parent | d1ca3daa86c9b198ada1278ef16d193996bbf3c9 (diff) | |
download | perl-693762b493165ab96822ef2342af62f74dc0367b.tar.gz |
Configure patches -01 and -02 for 5.004_61.
p4raw-id: //depot/perl@783
Diffstat (limited to 'hints/linux.sh')
-rw-r--r-- | hints/linux.sh | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/hints/linux.sh b/hints/linux.sh index 1ddbca1964..7347945c48 100644 --- a/hints/linux.sh +++ b/hints/linux.sh @@ -30,7 +30,8 @@ esac ccflags="-Dbool=char -DHAS_BOOL $ccflags" # BSD compatability library no longer needed -set `echo X "$libswanted "| sed -e 's/ bsd / /'` +# 'kaffe' has a /usr/lib/libnet.so which is not at all relevent for perl. +set `echo X "$libswanted "| sed -e 's/ bsd / /' -e 's/ net / /'` shift libswanted="$*" @@ -194,7 +195,12 @@ fi # it should be: # ccdlflags='-Wl,-E' -if [ "X$usethreads" != "X" ]; then +# XXX EXPERIMENTAL A.D. 2/27/1998 +# XXX This script UU/usethreads.cbu will get 'called-back' by Configure +# XXX after it has prompted the user for whether to use threads. +cat > UU/usethreads.cbu <<'EOSH' +case "$usethreads" in +$define|true|[yY]*) ccflags="-D_REENTRANT $ccflags" # -lpthread needs to come before -lc but after other libraries such # as -lgdbm and such like. We assume here that -lc is present in @@ -203,4 +209,7 @@ if [ "X$usethreads" != "X" ]; then set `echo X "$libswanted "| sed -e 's/ c / pthread c /'` shift libswanted="$*" -fi + ;; +esac +EOSH +# XXX EXPERIMENTAL --end of call-back |