strace/m4
Mike Frysinger 584ba2d31d Fix off_t/rlim_t size checks when cross-compiling
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>
2010-09-15 15:36:00 +00:00
..
includedir.m4 Split acinclude.m4 2010-09-09 23:20:24 +00:00
long_long.m4 Fix off_t/rlim_t size checks when cross-compiling 2010-09-15 15:36:00 +00:00
procfs.m4 Split acinclude.m4 2010-09-09 23:20:24 +00:00
stat.m4 Split acinclude.m4 2010-09-09 23:20:24 +00:00
statfs.m4 Split acinclude.m4 2010-09-09 23:20:24 +00:00
warnings.m4 Import warnings.m4 from gnulib 2010-09-09 23:20:25 +00:00