configure.c: fix AX_GCC_FUNC_ATTRIBUTE detection on custom CFLAGS
commitee013b383f38bcaddd602a292414e02842590fb4
authorAndreas Mohr <and@gmx.li>
Fri, 11 Jan 2019 16:08:28 +0000 (11 16:08 +0000)
committerAndrew Borodin <aborodin@vmail.ru>
Sun, 3 Feb 2019 10:10:01 +0000 (3 13:10 +0300)
tree3d17ebf49f544765d9ecfb0095c6c4d570482af4
parent9f4e2b945fe06fce08d731c5fa1959cb38f1ba19
configure.c: fix AX_GCC_FUNC_ATTRIBUTE detection on custom CFLAGS

AX_GCC_FUNC_ATTRIBUTE detect attribute feature by compiler warnings.
Custom or unrecognized CFLAGS can causes extra warnings so attribute
check failed.

Reset CFLAGS and restore after AX_GCC_FUNC_ATTRIBUTE call.

Signed-off-by: Andreas Mohr <and@gmx.li>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
configure.ac