X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=configure.ac;h=9672cb0288b496e37142c9d88dddfdf7ae33b693;hb=003ce655b7116d18c86a74c50391e54990346931;hp=eb3c5e78d3850d6f70ab0e6e989fddc00da492aa;hpb=18f0d729e26787da30fe949e68742357847c157c;p=sliver-openvswitch.git diff --git a/configure.ac b/configure.ac index eb3c5e78d..9672cb028 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -# Copyright (c) 2008, 2009, 2010, 2011, 2012, 2013 Nicira, Inc. +# Copyright (c) 2008, 2009, 2010, 2011, 2012, 2013, 2014 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, 2.1.0, ovs-bugs@openvswitch.org) +AC_INIT(openvswitch, 2.2.90, bugs@openvswitch.org) AC_CONFIG_SRCDIR([datapath/datapath.c]) AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_AUX_DIR([build-aux]) @@ -41,6 +41,8 @@ AC_C_BIGENDIAN AC_SYS_LARGEFILE LT_INIT([disable-shared]) +m4_pattern_forbid([LT_INIT]) dnl Make autoconf fail if libtool is missing. + AC_SEARCH_LIBS([pow], [m]) AC_SEARCH_LIBS([clock_gettime], [rt]) AC_SEARCH_LIBS([timer_create], [rt]) @@ -55,8 +57,6 @@ OVS_CHECK_NETLINK OVS_CHECK_OPENSSL OVS_CHECK_LOGDIR OVS_CHECK_PYTHON -OVS_CHECK_PYUIC4 -OVS_CHECK_OVSDBMONITOR OVS_CHECK_PYTHON_COMPAT OVS_CHECK_DOT OVS_CHECK_IF_PACKET @@ -90,9 +90,10 @@ OVS_CHECK_ATOMIC_ALWAYS_LOCK_FREE(4) OVS_CHECK_ATOMIC_ALWAYS_LOCK_FREE(8) OVS_CHECK_POSIX_AIO OVS_CHECK_PTHREAD_SET_NAME +OVS_CHECK_LINUX_HOST -OVS_CHECK_INCLUDE_NEXT([string.h]) -AC_CONFIG_FILES([lib/string.h]) +OVS_CHECK_INCLUDE_NEXT([stdio.h string.h]) +AC_CONFIG_FILES([lib/stdio.h lib/string.h]) OVS_ENABLE_OPTION([-Wall]) OVS_ENABLE_OPTION([-Wextra]) @@ -119,6 +120,7 @@ OVS_ENABLE_SPARSE AC_ARG_VAR(KARCH, [Kernel Architecture String]) AC_SUBST(KARCH) OVS_CHECK_LINUX +OVS_CHECK_DPDK AC_CONFIG_FILES(Makefile) AC_CONFIG_FILES(datapath/Makefile) @@ -130,12 +132,8 @@ AC_CONFIG_FILES(tests/atlocal) dnl This makes sure that include/openflow gets created in the build directory. AC_CONFIG_COMMANDS([include/openflow/openflow.h.stamp]) -AC_CONFIG_COMMANDS([ovsdb/ovsdbmonitor/dummy], [:]) AC_CONFIG_COMMANDS([utilities/bugtool/dummy], [:]) -AM_CONDITIONAL([LINUX_DATAPATH], [test "$HAVE_NETLINK" = yes && test "$ESX" = no]) -if test "$HAVE_NETLINK" = yes && test "$ESX" = no; then - AC_DEFINE([LINUX_DATAPATH], [1], [System uses the linux datapath module.]) -fi +m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES]) AC_OUTPUT