summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorFlavio Leitner <fbl@sysclose.org>2018-09-25 17:46:24 -0300
committerBen Pfaff <blp@ovn.org>2018-09-25 14:11:13 -0700
commit4c7e176644cf03c3ea5539b359158df8de9f85d8 (patch)
tree190a9aad8d8b5efc7b960a5e9270cfe5487a50c5 /configure.ac
parent97bc5b232699e16cc3acbe10148fd60a3b029384 (diff)
downloadopenvswitch-4c7e176644cf03c3ea5539b359158df8de9f85d8.tar.gz
sparse: check if floatn-common.h is available.
This skip including floatn-common.h if it's not available since it was introduced in glibc 2.27 and OVS doesn't not actually require that to work with previous glibc version. Fixes: 07aec2ac1 sparse: Support newer GCC/glibc versions. Signed-off-by: Flavio Leitner <fbl@sysclose.org> Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index ba9e7d66d..aa92b151a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -110,7 +110,7 @@ AC_CHECK_MEMBERS([struct sockaddr_in6.sin6_scope_id], [], [],
#include <netinet/in.h>]])
AC_CHECK_FUNCS([mlockall strnlen getloadavg statvfs getmntent_r sendmmsg clock_gettime])
AC_CHECK_HEADERS([mntent.h sys/statvfs.h linux/types.h linux/if_ether.h])
-AC_CHECK_HEADERS([linux/net_namespace.h stdatomic.h])
+AC_CHECK_HEADERS([linux/net_namespace.h stdatomic.h bits/floatn-common.h])
AC_CHECK_HEADERS([net/if_mib.h], [], [], [[#include <sys/types.h>
#include <net/if.h>]])