configure: improve CURL_CHECK_COMPILER_PROTOTYPE_MISMATCH
authorDaniel Stenberg <daniel@haxx.se>
Sat, 7 Sep 2013 09:12:36 +0000 (11:12 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Sat, 7 Sep 2013 09:15:18 +0000 (11:15 +0200)
commit09634f46fb98f02890e4f1bffb99bf4d76d6cf85
tree7fb74f256931b1b3e350a9936c65dc244756d4e4
parent0119a93b335dfc7f58304a6c92f114c4f655b5a3
configure: improve CURL_CHECK_COMPILER_PROTOTYPE_MISMATCH

The compiler test used a variable before it was assigned when it tried
to see how it acts on a mismatching prototype, which could cause a false
positive.
m4/curl-compilers.m4