X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=configure.ac;h=e8497e1f30fdb2f068b49dc87c97fb2f2028ddb7;hb=836fad5e1ae4316752150fcdfba9afbf8d5f5801;hp=400ea786968047c2af7d0027cc8550dea1d54439;hpb=4d678233e981fa319a338f6b0949e9dc625941a4;p=openvswitch diff --git a/configure.ac b/configure.ac index 400ea786..e8497e1f 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. @@ -12,8 +12,8 @@ # See the License for the specific language governing permissions and # limitations under the License. -AC_PREREQ(2.63) -AC_INIT(openvswitch, 0.90.5, ovs-bugs@openvswitch.org) +AC_PREREQ(2.64) +AC_INIT(openvswitch, 0.99.2, 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 @@ -49,6 +51,9 @@ OVS_CHECK_PCRE OVS_CHECK_PYTHON 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]) OVS_CHECK_PKIDIR OVS_CHECK_RUNDIR @@ -56,7 +61,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 +79,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 +92,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