X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=configure.ac;h=f901f96a9520781f772f464d430fb63589b83cf1;hb=4e256b6bf053a0c4ef9a599f83e647daca3b21a6;hp=c8eed7c970083348bcefbf2f18545e4e4f5a4840;hpb=3f355f47f8e7343e909ccfa854454d667baf3c38;p=openvswitch diff --git a/configure.ac b/configure.ac index c8eed7c9..f901f96a 100644 --- a/configure.ac +++ b/configure.ac @@ -75,10 +75,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