X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;f=configure.ac;h=d63e200b224588dacd321c337d931412a82bfc64;hb=1b3da8198041e21ddd6c9a317938dbaa97dc0299;hp=10b214e64b1b18de8ba2d77ea1ef843a747ac934;hpb=7fd3e43db0715475e12a7cfb5d4b57a6005cac81;p=cascardo%2Fovs.git diff --git a/configure.ac b/configure.ac index 10b214e64..d63e200b2 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.8.90, ovs-bugs@openvswitch.org) +AC_INIT(openvswitch, 1.11.1, ovs-bugs@openvswitch.org) AC_CONFIG_SRCDIR([datapath/datapath.c]) AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_AUX_DIR([build-aux]) @@ -27,6 +27,7 @@ AC_PROG_CPP AC_PROG_RANLIB AC_PROG_MKDIR_P AC_PROG_FGREP +AC_PROG_EGREP AC_ARG_VAR([PERL], [path to Perl interpreter]) AC_PATH_PROG([PERL], perl, no) @@ -34,10 +35,7 @@ if test "$PERL" = no; then AC_MSG_ERROR([Perl interpreter not found in $PATH or $PERL.]) fi -AC_PATH_PROG([AUTOM4TE], autom4te, no) -if test "$AUTOM4TE" = no; then - AC_MSG_ERROR([autom4te not found in $PATH or $AUTOM4TE.]) -fi +AM_MISSING_PROG([AUTOM4TE], [autom4te]) AC_USE_SYSTEM_EXTENSIONS AC_C_BIGENDIAN @@ -46,8 +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]) +OVS_CHECK_ESX OVS_CHECK_COVERAGE OVS_CHECK_NDEBUG OVS_CHECK_NETLINK @@ -63,7 +61,7 @@ OVS_CHECK_STRTOK_R 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]) +AC_CHECK_HEADERS([mntent.h sys/statvfs.h linux/types.h linux/if_ether.h]) OVS_CHECK_PKIDIR OVS_CHECK_RUNDIR @@ -75,8 +73,8 @@ OVS_CHECK_SOCKET_LIBS OVS_CHECK_LINKER_SECTIONS OVS_CHECK_XENSERVER_VERSION OVS_CHECK_GROFF -OVS_CHECK_BRCOMPAT OVS_CHECK_GNU_MAKE +OVS_CHECK_CACHE_TIME OVS_ENABLE_OPTION([-Wall]) OVS_ENABLE_OPTION([-Wno-sign-compare]) @@ -115,4 +113,9 @@ 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 + AC_OUTPUT