X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=configure.ac;h=798863393ca4b1c7fd85c61c4cdba82f3092a10a;hb=fa04edcedfe5285fd8ad3a4d70fecb38df18293d;hp=bcfb2276d59f2fe17887d00bf360ce6d87e2ef73;hpb=d1673b006d53fdea72c0744e835362ed1917f879;p=sliver-openvswitch.git diff --git a/configure.ac b/configure.ac index bcfb2276d..798863393 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -# Copyright (c) 2008, 2009, 2010, 2011, 2012 Nicira, Inc. +# Copyright (c) 2008, 2009, 2010, 2011, 2012, 2013 Nicira, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -13,7 +13,7 @@ # limitations under the License. AC_PREREQ(2.64) -AC_INIT(openvswitch, 1.9.90, ovs-bugs@openvswitch.org) +AC_INIT(openvswitch, 1.12.90, ovs-bugs@openvswitch.org) AC_CONFIG_SRCDIR([datapath/datapath.c]) AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_AUX_DIR([build-aux]) @@ -44,7 +44,8 @@ AC_SYS_LARGEFILE AC_SEARCH_LIBS([pow], [m]) AC_SEARCH_LIBS([clock_gettime], [rt]) AC_SEARCH_LIBS([timer_create], [rt]) -AC_SEARCH_LIBS([pcap_open_live], [pcap]) +AC_SEARCH_LIBS([pthread_sigmask], [pthread]) +AC_FUNC_STRERROR_R OVS_CHECK_ESX OVS_CHECK_COVERAGE @@ -59,10 +60,14 @@ OVS_CHECK_DOT OVS_CHECK_IF_PACKET OVS_CHECK_IF_DL OVS_CHECK_STRTOK_R +AC_CHECK_DECLS([sys_siglist], [], [], [[#include ]]) AC_CHECK_MEMBERS([struct stat.st_mtim.tv_nsec, struct stat.st_mtimensec], [], [], [[#include ]]) -AC_CHECK_FUNCS([mlockall strnlen strsignal getloadavg statvfs setmntent]) -AC_CHECK_HEADERS([mntent.h sys/statvfs.h linux/types.h execinfo.h]) +AC_CHECK_MEMBERS([struct ifreq.ifr_flagshigh], [], [], [[#include ]]) +AC_CHECK_FUNCS([mlockall strnlen getloadavg statvfs getmntent_r]) +AC_CHECK_HEADERS([mntent.h sys/statvfs.h linux/types.h linux/if_ether.h stdatomic.h]) +AC_CHECK_HEADERS([net/if_mib.h], [], [], [[#include +#include ]]) OVS_CHECK_PKIDIR OVS_CHECK_RUNDIR @@ -76,8 +81,17 @@ OVS_CHECK_XENSERVER_VERSION OVS_CHECK_GROFF OVS_CHECK_GNU_MAKE OVS_CHECK_CACHE_TIME +OVS_CHECK_TLS +OVS_CHECK_GCC4_ATOMICS +OVS_CHECK_ATOMIC_ALWAYS_LOCK_FREE(1) +OVS_CHECK_ATOMIC_ALWAYS_LOCK_FREE(2) +OVS_CHECK_ATOMIC_ALWAYS_LOCK_FREE(4) +OVS_CHECK_ATOMIC_ALWAYS_LOCK_FREE(8) +OVS_CHECK_POSIX_AIO +OVS_CHECK_PTHREAD_SET_NAME OVS_ENABLE_OPTION([-Wall]) +OVS_ENABLE_OPTION([-Wextra]) OVS_ENABLE_OPTION([-Wno-sign-compare]) OVS_ENABLE_OPTION([-Wpointer-arith]) OVS_ENABLE_OPTION([-Wdeclaration-after-statement]) @@ -91,7 +105,7 @@ OVS_ENABLE_OPTION([-Wstrict-prototypes]) OVS_ENABLE_OPTION([-Wold-style-definition]) OVS_ENABLE_OPTION([-Wmissing-prototypes]) OVS_ENABLE_OPTION([-Wmissing-field-initializers]) -OVS_ENABLE_OPTION([-Wno-override-init]) +OVS_ENABLE_OPTION([-Wthread-safety]) OVS_CONDITIONAL_CC_OPTION([-Wno-unused], [HAVE_WNO_UNUSED]) OVS_CONDITIONAL_CC_OPTION([-Wno-unused-parameter], [HAVE_WNO_UNUSED_PARAMETER]) OVS_ENABLE_WERROR