X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=configure.ac;h=9672cb0288b496e37142c9d88dddfdf7ae33b693;hb=003ce655b7116d18c86a74c50391e54990346931;hp=96880af693b438bee83c0f1840420f4749c8053c;hpb=bca43eff7ded606cbebb89f1ba78f14694cf3a6d;p=sliver-openvswitch.git diff --git a/configure.ac b/configure.ac index 96880af69..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.0.90, 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]) @@ -24,7 +24,6 @@ AM_INIT_AUTOMAKE AC_PROG_CC AM_PROG_CC_C_O AC_PROG_CPP -AC_PROG_RANLIB AC_PROG_MKDIR_P AC_PROG_FGREP AC_PROG_EGREP @@ -41,6 +40,9 @@ AC_USE_SYSTEM_EXTENSIONS 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,6 +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([stdio.h string.h]) +AC_CONFIG_FILES([lib/stdio.h lib/string.h]) OVS_ENABLE_OPTION([-Wall]) OVS_ENABLE_OPTION([-Wextra]) @@ -116,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) @@ -127,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