Branch: Tag:

2014-12-04

2014-12-04 19:24:00 by Marcus Comstedt <marcus@mc.pp.se>

Configure: Use AC_TRY_LINK to test for builtins

Using AC_TRY_RUN makes it not work for cross compilation, and the
runtime test didn't do anything anyway...

2464:      define(TEST_BUILTIN, [    AC_MSG_CHECKING(for $1) -  AC_TRY_RUN([ +  AC_TRY_LINK([   $3 -  + ],[   unsigned long lint;   int main(int argc, char **argv) {    static volatile int foo = 0;