Branch: Tag:

2013-08-14

2013-08-14 09:13:20 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;