Whamcloud - gitweb
Remove default sizeof sizes in configure script when cross-compiling
authorMaciej W. Rozycki <macro@linux-mips.org>
Tue, 20 May 2008 23:38:12 +0000 (00:38 +0100)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 21 May 2008 17:24:37 +0000 (13:24 -0400)
commitb8251a546d0922783b8d263c9f6887a288e55c07
treeaae428ee5fa227681f1f469b666dfde717de7995
parent492ea6556e82caf88d77c78bde2beb8849aa4eaf
Remove default sizeof sizes in configure script when cross-compiling

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: Maciej W. Rozycki <macro@linux-mips.org>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
configure
configure.in