diff options
author | Martin Willi <martin@revosec.ch> | 2014-05-08 15:12:06 +0200 |
---|---|---|
committer | Martin Willi <martin@revosec.ch> | 2014-06-04 15:53:13 +0200 |
commit | 3ab6082a0fec9a5df039fe857a6ac3ca08ecd825 (patch) | |
tree | a28ed893583876c3ec9a76c8aaae9a25c9ee5f68 | |
parent | 2d42dce4a48f107469f039897c58bf70145268e8 (diff) | |
download | strongswan-3ab6082a0fec9a5df039fe857a6ac3ca08ecd825.tar.bz2 strongswan-3ab6082a0fec9a5df039fe857a6ac3ca08ecd825.tar.xz |
configure: Mark conftest variable as unused to pass test with -Werror
When using -Werror, the warning for the unused variable would let the test fail,
even if in6addr_any is available.
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 6e836146b..e5087d049 100644 --- a/configure.ac +++ b/configure.ac @@ -609,7 +609,7 @@ AC_COMPILE_IFELSE( [[#include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h>]], - [[struct in6_addr in6; + [[struct in6_addr in6 __attribute__((unused)); in6 = in6addr_any;]])], [AC_MSG_RESULT([yes]); AC_DEFINE([HAVE_IN6ADDR_ANY], [], [have struct in6_addr in6addr_any])], |