Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: Re: LFS notes RE: pws-18 is go
- X-seq: zsh-workers 6271
- From: Peter Stephenson <pws@xxxxxxxxxxxxxxxxx>
- To: "ZSH workers mailing list" <zsh-workers@xxxxxxxxxxxxxx>
- Subject: PATCH: Re: LFS notes RE: pws-18 is go
- Date: Wed, 12 May 1999 12:12:20 +0200
- In-reply-to: ""Andrej Borsenkow""'s message of "Wed, 12 May 1999 13:43:11 DFT." <004001be9c5b$d95c62a0$21c9ca95@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
"Andrej Borsenkow" wrote:
> to use ftello/fseeko one must set _LARGEFILE_SOURCE
> Solaris is non-conformant in automagically setting _LARGEFILE_SOURCE in
> LFS_CFLAGS
How about this?
--- aczsh.m4.lfs2 Wed May 12 09:49:40 1999
+++ aczsh.m4 Wed May 12 12:05:22 1999
@@ -59,7 +59,14 @@
case $ac_result in
yes)
for ac_shellvar in $ac_shellvars; do
- eval $ac_shellvar=\$ac_test_$ac_shellvar
+ case "`eval echo $ac_shellvar-\\\$ac_test_$ac_shellvar`" in
+ CPPFLAGS*-D_LARGEFILE_SOURCE*) eval $ac_shellvar=\$ac_test_$ac_shellvar
+ ;;
+ CPPFLAGS*)
+ eval $ac_shellvar="\"-D_LARGEFILE_SOURCE \$ac_test_$ac_shellvar\""
+ ;;
+ *) eval $ac_shellvar=\$ac_test_$ac_shellvar
+ esac
done ;;
esac
])
--
Peter Stephenson <pws@xxxxxxxxxxxxxxxxx> Tel: +39 050 844536
WWW: http://www.ifh.de/~pws/
Dipartimento di Fisica, Via Buonarroti 2, 56127 Pisa, Italy
Messages sorted by:
Reverse Date,
Date,
Thread,
Author