• Maciej W. Rozycki's avatar
    Remove default sizeof sizes in configure script when cross-compiling · b8251a54
    Maciej W. Rozycki authored
    
    
    Since version 2.50 autoconf fully supports checking sizes of types
    (with AC_CHECK_SIZEOF) when cross-compiling.  Therefore there is no
    need to preset the respective cache variables anymore.  The following
    patch removes the special case.  There is no need to adjust AC_PREREQ
    as it's set to 2.50 already.
    
    Tested successfully cross-building for the mips64el-linux-gnu host on
    an i386-linux-gnu build system, removing the following warning
    (because of a mismatch for the "long" type):
    
    Sizeof(__U64__TYPEDEF) is 4 should be 8
    Problem detected with asm_types.h
    Signed-off-by: default avatarMaciej W. Rozycki <macro@linux-mips.org>
    Signed-off-by: default avatar"Theodore Ts'o" <tytso@mit.edu>
    b8251a54
configure.in 23.8 KB