X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=configure.ac;h=6a8a1ea47fd156cac9943e87d95de30937103500;hb=834377ea559d665520910968358c522f30d3eb93;hp=c8eed7c970083348bcefbf2f18545e4e4f5a4840;hpb=3f355f47f8e7343e909ccfa854454d667baf3c38;p=openvswitch diff --git a/configure.ac b/configure.ac index c8eed7c9..6a8a1ea4 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -# Copyright (c) 2008, 2009 Nicira Networks +# Copyright (c) 2008, 2009, 2010 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.63) -AC_INIT(openvswitch, 0.90.6, ovs-bugs@openvswitch.org) +AC_INIT(openvswitch, 0.99.1, ovs-bugs@openvswitch.org) NX_BUILDNR AC_CONFIG_SRCDIR([datapath/datapath.c]) AC_CONFIG_MACRO_DIR([m4]) @@ -38,6 +38,8 @@ AC_USE_SYSTEM_EXTENSIONS AC_C_BIGENDIAN AC_SYS_LARGEFILE +AC_SEARCH_LIBS([pow], [m]) + OVS_CHECK_COVERAGE OVS_CHECK_NDEBUG OVS_CHECK_NETLINK @@ -56,7 +58,6 @@ OVS_CHECK_MALLOC_HOOKS OVS_CHECK_VALGRIND OVS_CHECK_TTY_LOCK_DIR OVS_CHECK_SOCKET_LIBS -OVS_CHECK_FAULT_LIBS AC_CHECK_FUNCS([strsignal]) @@ -75,10 +76,11 @@ OVS_ENABLE_OPTION([-Wold-style-definition]) OVS_ENABLE_OPTION([-Wmissing-prototypes]) OVS_ENABLE_OPTION([-Wmissing-field-initializers]) OVS_ENABLE_OPTION([-Wno-override-init]) +OVS_CONDITIONAL_CC_OPTION([-Wno-unused], [HAVE_WNO_UNUSED]) AC_ARG_VAR(KARCH, [Kernel Architecture String]) AC_SUBST(KARCH) -OVS_CHECK_LINUX(l26, 2.6, KSRC26, L26_ENABLED) +OVS_CHECK_LINUX26 AC_CONFIG_FILES([Makefile datapath/Makefile @@ -87,4 +89,7 @@ datapath/linux-2.6/Makefile datapath/linux-2.6/Makefile.main tests/atlocal]) +dnl This makes sure that include/openflow gets created in the build directory. +AC_CONFIG_COMMANDS([include/openflow/openflow.h.stamp]) + AC_OUTPUT