From e4b39a413ab4bfc1ba7c84b8e01758c7bac1ff19 Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Tue, 14 Jan 2014 14:57:42 +0100 Subject: [PATCH] Fix coccinelle autotools check --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index ccef2dad81..167287efb9 100644 --- a/configure.ac +++ b/configure.ac @@ -373,7 +373,7 @@ ]) AC_ARG_ENABLE(coccinelle, - AS_HELP_STRING([--disable-coccinelle], [Disable coccinelle QA steps during make check])],,[enable_coccinelle=yes]) + AS_HELP_STRING([--disable-coccinelle], [Disable coccinelle QA steps during make check])],[enable_coccinelle="$enableval"],[enable_coccinelle=yes]) AS_IF([test "x$enable_coccinelle" = "xyes"], [ AC_PATH_PROG(HAVE_COCCINELLE_CONFIG, spatch, "no") if test "$HAVE_COCCINELLE_CONFIG" = "no"; then @@ -381,6 +381,7 @@ echo " able to run code checking with coccinelle " echo " get it from http://coccinelle.lip6.fr " echo " or install from your distribution " + enable_coccinelle=no fi ]) AM_CONDITIONAL([HAVE_COCCINELLE], [test "x$enable_coccinelle" != "xno"]) -- 2.47.2