summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorAdrian Moreno <amorenoz@redhat.com>2022-03-23 12:56:23 +0100
committerIlya Maximets <i.maximets@ovn.org>2022-03-30 16:59:03 +0200
commit7aff8a5117db993fb4e62b3db79f88b1bd0b7e05 (patch)
tree0c5d70e0dec680ea48cfbcbc08760405cec12299 /acinclude.m4
parentb54067b24a25c37d6ef0e6cfba9e6ea2d8f9202e (diff)
downloadopenvswitch-7aff8a5117db993fb4e62b3db79f88b1bd0b7e05.tar.gz
sparse: bump recommended version and include headers.
It seems versions older than 0.6.2 generate false positives. Bump the recommended version and make sure we use the right headers from the ovs tree. Suggested-by: Dumitru Ceara <dceara@redhat.com> Acked-by: Eelco Chaudron <echaudro@redhat.com> Signed-off-by: Adrian Moreno <amorenoz@redhat.com> Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 52474c00d..61e88105f 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -1431,7 +1431,7 @@ AC_DEFUN([OVS_ENABLE_SPARSE],
: ${SPARSE=sparse}
AC_SUBST([SPARSE])
AC_CONFIG_COMMANDS_PRE(
- [CC='$(if $(C:0=),env REAL_CC="'"$CC"'" CHECK="$(SPARSE) $(SPARSE_WERROR) -I $(top_srcdir)/include/sparse $(SPARSEFLAGS) $(SPARSE_EXTRA_INCLUDES) " cgcc $(CGCCFLAGS),'"$CC"')'])
+ [CC='$(if $(C:0=),env REAL_CC="'"$CC"'" CHECK="$(SPARSE) $(SPARSE_WERROR) -I $(top_srcdir)/include/sparse -I $(top_srcdir)/include $(SPARSEFLAGS) $(SPARSE_EXTRA_INCLUDES) " cgcc $(CGCCFLAGS),'"$CC"')'])
AC_ARG_ENABLE(
[sparse],