IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 16, 2010, 6:44:32 AM (16 years ago)
Author:
eugene
Message:

updates for large files (fseeok, sizes to off_t, etc)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/largefiles.20100314/Ohana/configure.tcsh

    r21508 r27295  
    1313set use_tcmalloc = 0
    1414set use_gnu99 = 0
     15set use_largefiles = 0
    1516
    1617set prefix  = ""
     
    7475   set use_gnu99 = 1
    7576   breaksw;
     77  case --use-largefiles
     78   set use_largefiles = 1
     79   breaksw;
    7680  case --pedantic
    7781   set pedantic = 1
     
    180184# use_gnu99
    181185if ($use_gnu99) set CFLAGS = "$CFLAGS -std=gnu99"
     186
     187# use_largefiles
     188# replace with `getconf LFS_CFLAGS`
     189if ($use_largefiles) set CFLAGS = "$CFLAGS -D_FILE_OFFSET_BITS=64"
    182190
    183191if (! $?CPPFLAGS) then
     
    650658  -h, --help              display this help and exit
    651659  --enable-optimize       enable compiler optimization (-O2)
     660  --enable-profile        enable
    652661  --enable-memcheck       enable ohana memory tests
    653662  --pedantic              include -Wall -Werror on compilation
     663  --use-tcmalloc          use the alternate tcmalloc from Google
     664  --use-gnu99             use gnu99 flags to ensure C99 compatibility
     665  --use-largefiles        ensure large file compatibility
    654666
    655667Installation directories:
Note: See TracChangeset for help on using the changeset viewer.