Linux needs -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 too
authorGurusamy Sarathy <gsar@cpan.org>
Sun, 5 Mar 2000 20:26:57 +0000 (20:26 +0000)
committerGurusamy Sarathy <gsar@cpan.org>
Sun, 5 Mar 2000 20:26:57 +0000 (20:26 +0000)
(from Matthias Urlichs <smurf@noris.net>)

p4raw-id: //depot/perl@5556

hints/linux.sh

index 82b8703..80fda07 100644 (file)
@@ -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