From: Gurusamy Sarathy Date: Sun, 5 Mar 2000 20:26:57 +0000 (+0000) Subject: Linux needs -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 too X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=7f2eea8ea438da30c9033cb5884dd3c1667ef8dc;p=p5sagit%2Fp5-mst-13.2.git Linux needs -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 too (from Matthias Urlichs ) p4raw-id: //depot/perl@5556 --- diff --git a/hints/linux.sh b/hints/linux.sh index 82b8703..80fda07 100644 --- a/hints/linux.sh +++ b/hints/linux.sh @@ -276,3 +276,13 @@ $define|true|[yY]*) ;; esac EOCBU + +cat > UU/uselargefiles.cbu <<'EOCBU' +# This script UU/uselargefiles.cbu will get 'called-back' by Configure +# after it has prompted the user for whether to use large files. +case "$uselargefiles" in +''|$define|true|[yY]*) + ccflags="$ccflags -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" + ;; +esac +EOCBU