contrib: Fix a bug in the old gmp configure script
authorMartin Storsjö <martin@martin.st>
Mon, 1 Apr 2013 19:55:11 +0000 (22:55 +0300)
committerMartin Storsjö <martin@martin.st>
Mon, 1 Apr 2013 20:23:05 +0000 (23:23 +0300)
commit7fa5b04a6ee7cbcdaf0c2c59d49b717ac4896ba9
tree6529f905879276a9bed46d151316875d982ffe5a
parentebef81bba3d6040291aa3d6832d47d6a97a7f13a
contrib: Fix a bug in the old gmp configure script

The brackets in the config test aren't properly escaped, and thus
don't end up in the final configure script as intended.

When building on a system where the system default compiler is clang,
clang can fail due to the main signature
"int main(int argc, char *argv)" being invalid,
which makes configure believe that the system compiler isn't
ANSI compliant, and it tries to invoke (broken) ANSI2KNR code.

Signed-off-by: Martin Storsjö <martin@martin.st>
contrib/src/gmp/ansitest.diff [new file with mode: 0644]
contrib/src/gmp/rules.mak