configure: Make GNUC visibility attribute test more reliable.
authorKrzesimir Nowak <qdlacz@gmail.com>
Thu, 22 Nov 2012 15:56:52 +0000 (16:56 +0100)
committerKrzesimir Nowak <qdlacz@gmail.com>
Thu, 22 Nov 2012 16:33:04 +0000 (17:33 +0100)
commit276cf6ceeea9489ef1ed23788c3c42dee5fcd72d
tree65405be0b2470d0805bd48b6cc71241f5ab2ae57
parent73d230bc2500a17f9d7eb605c8c86fad3a878014
configure: Make GNUC visibility attribute test more reliable.

Using "int main (int argc, char** argv)" in this test causes GCC to
issue two warnings about unused variable if CFLAGS envvar has
-Wunused-parameter (or just -Wextra). Those warnings are not related
to the attribute checking but they can make the test fail anyway.
configure.ac