Changeset 2483


Ignore:
Timestamp:
31/03/2009 13:11:24 (3 years ago)
Author:
chris
Message:

Remove unused check for unaligned accesses, fails on cross-compiling.

Disable large file support when cross-compiling, as the check cannot
run in this environment.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • box/trunk/configure.ac

    r2382 r2483  
    161161AC_C_CONST 
    162162AC_C_BIGENDIAN 
    163 AX_CHECK_NONALIGNED_ACCESS 
    164163AC_TYPE_UID_T 
    165164AC_TYPE_MODE_T 
     
    244243## out how to enable it if necessary, we just use this to report to the user 
    245244AC_CACHE_CHECK([if we have large file support enabled], [box_cv_have_large_file_support], 
    246   [AC_RUN_IFELSE([AC_LANG_PROGRAM([[$ac_includes_default]], [[ 
     245  [AC_TRY_RUN([AC_LANG_PROGRAM([[$ac_includes_default]], [[ 
    247246      return sizeof(off_t)==4; 
    248247    ]])], 
    249     [box_cv_have_large_file_support=yes], [box_cv_have_large_file_support=no] 
     248    [box_cv_have_large_file_support=yes], 
     249    [box_cv_have_large_file_support=no], 
     250    [box_cv_have_large_file_support=no # safe for cross-compile] 
    250251  )]) 
    251252 
Note: See TracChangeset for help on using the changeset viewer.