X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=configure.ac;h=e8497e1f30fdb2f068b49dc87c97fb2f2028ddb7;hb=aeb2b7a166ec1f7143bd75b01a65ba440cccd88a;hp=92d5ac03031104a8b25b9c15523471f80738d17b;hpb=250382a8fc839cb077b2636983a1c1de0d6b0e17;p=openvswitch diff --git a/configure.ac b/configure.ac index 92d5ac03..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.6, 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]) @@ -51,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 @@ -76,6 +79,7 @@ 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) @@ -88,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