X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=configure.ac;h=046b386985db51e6be8c8a9c9f89937c4c286c14;hb=22bcc0e70becd88bf895c44885d63704affe4284;hp=3088fa5d83e4c71bdbd2d12db9b6a3eb3aef0f61;hpb=4c1eabc12300be3190d2fb66edc07d9c607f539e;p=sliver-openvswitch.git diff --git a/configure.ac b/configure.ac index 3088fa5d8..046b38698 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -# Copyright (c) 2008, 2009, 2010 Nicira Networks +# Copyright (c) 2008, 2009, 2010, 2011 Nicira Networks # # 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.0.1, ovs-bugs@openvswitch.org) +AC_INIT(openvswitch, 1.1.0, ovs-bugs@openvswitch.org) NX_BUILDNR AC_CONFIG_SRCDIR([datapath/datapath.c]) AC_CONFIG_MACRO_DIR([m4]) @@ -47,24 +47,26 @@ OVS_CHECK_NDEBUG OVS_CHECK_NETLINK OVS_CHECK_OPENSSL OVS_CHECK_LOGDIR +OVS_CHECK_RTNL_LINK_STATS64 OVS_CHECK_PYTHON OVS_CHECK_PYUIC4 OVS_CHECK_OVSDBMONITOR -OVS_CHECK_ER_DIAGRAMS +OVS_CHECK_DOT OVS_CHECK_IF_PACKET OVS_CHECK_STRTOK_R AC_CHECK_MEMBERS([struct stat.st_mtim.tv_nsec, struct stat.st_mtimensec], [], [], [[#include ]]) -AC_CHECK_FUNCS([mlockall]) +AC_CHECK_FUNCS([mlockall strnlen strsignal getloadavg statvfs setmntent]) +AC_CHECK_HEADERS([mntent.h sys/statvfs.h]) OVS_CHECK_PKIDIR OVS_CHECK_RUNDIR +OVS_CHECK_BACKTRACE OVS_CHECK_MALLOC_HOOKS OVS_CHECK_VALGRIND OVS_CHECK_SOCKET_LIBS OVS_CHECK_LINKER_SECTIONS - -AC_CHECK_FUNCS([strsignal]) +OVS_CHECK_XENSERVER_VERSION OVS_ENABLE_OPTION([-Wall]) OVS_ENABLE_OPTION([-Wno-sign-compare]) @@ -83,16 +85,18 @@ OVS_ENABLE_OPTION([-Wmissing-field-initializers]) OVS_ENABLE_OPTION([-Wno-override-init]) OVS_CONDITIONAL_CC_OPTION([-Wno-unused], [HAVE_WNO_UNUSED]) OVS_CONDITIONAL_CC_OPTION([-Wno-unused-parameter], [HAVE_WNO_UNUSED_PARAMETER]) +OVS_ENABLE_WERROR +OVS_ENABLE_SPARSE AC_ARG_VAR(KARCH, [Kernel Architecture String]) AC_SUBST(KARCH) -OVS_CHECK_LINUX26 +OVS_CHECK_LINUX AC_CONFIG_FILES([Makefile datapath/Makefile -datapath/linux-2.6/Kbuild -datapath/linux-2.6/Makefile -datapath/linux-2.6/Makefile.main +datapath/linux/Kbuild +datapath/linux/Makefile +datapath/linux/Makefile.main tests/atlocal]) dnl This makes sure that include/openflow gets created in the build directory.