# HG changeset patch # User Andrew Jeffery # Date 1260493323 -37800 # Node ID bf8aedcfe67afaebc65544a6f4eeab4a99c3ed5a # Parent 32cc41c2fdeaf3c5400cc3491ad82b8a9341d305 configure: fix main signature in compiler ANSI check The check GMP_C_FOR_BUILD_ANSI ("checking whether build system compiler is ANSI...") fails, due to what seems to be an issue with the main function signature. The configure script attempts to compile: cat >conftest.c < or explicitly provide a declaration for 'exit' 3 diagnostics generated. The macro definition in acinclude.m4 follows; I think this might be something to do with '[]'s not being escaped, and hence they don't get included as part of the code that gets compiled in configure: [cat >conftest.c <conftest.c <