584ba2d31d
The current off_t/rlim_t size checks (wrt size of long long) use AC_RUN which obviously doesn't work when cross-compiling. While we don't hit any configure errors, the fall back code is pretty dumb (which is to say there isn't any). Considering the code in question though, we can use some fun compiler tricks with sizeof and array lengths to turn it into a pure build test and avoid the RUN issue completely. * m4/long_long.m4 (AC_OFF_T_IS_LONG_LONG, AC_RLIM_T_IS_LONG_LONG): Convert from AC_RUN_IFELSE to AC_COMPILE_IFELSE. Signed-off-by: Mike Frysinger <vapier@gentoo.org> |
||
---|---|---|
.. | ||
includedir.m4 | ||
long_long.m4 | ||
procfs.m4 | ||
stat.m4 | ||
statfs.m4 | ||
warnings.m4 |