Ignore:
Timestamp:
04/04/2009 15:05:14 (3 years ago)
Author:
chris
Message:

Hopefully fix another autoconf problem caused by attempt to support
cross-compiling.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • box/trunk/configure.ac

    r2483 r2495  
    242242## Check for large file support active. AC_SYS_LARGEFILE has already worked 
    243243## out how to enable it if necessary, we just use this to report to the user 
    244 AC_CACHE_CHECK([if we have large file support enabled], [box_cv_have_large_file_support], 
    245   [AC_TRY_RUN([AC_LANG_PROGRAM([[$ac_includes_default]], [[ 
     244AC_CACHE_CHECK([if we have large file support enabled], 
     245  [box_cv_have_large_file_support], 
     246  [AC_TRY_RUN([ 
     247    $ac_includes_default 
     248    int main() 
     249    { 
    246250      return sizeof(off_t)==4; 
    247     ]])], 
     251    } 
     252    ], 
    248253    [box_cv_have_large_file_support=yes], 
    249254    [box_cv_have_large_file_support=no], 
    250255    [box_cv_have_large_file_support=no # safe for cross-compile] 
    251   )]) 
     256    ) 
     257  ]) 
    252258 
    253259if test "x$box_cv_have_large_file_support" = "xyes"; then 
Note: See TracChangeset for help on using the changeset viewer.