From d49acbfa5c7ac929944e537915f39a54f5cc56c5 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Mon, 19 May 2014 07:52:21 -0700 Subject: [PATCH] acinclude.m4: Fix "sparse", via detection of GNU make "if" directive. Make treats tabs very differently from spaces at the beginning of a line, so this test must use a tab instead of a space. This partially reverts commit a0903134d2d60 (acinclude.m4: Expand tabs). Without this commit, the build system never enables checking with sparse because it never detects that GNU make "if" works. Signed-off-by: Ben Pfaff Acked-by: YAMAMOTO Takashi --- acinclude.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acinclude.m4 b/acinclude.m4 index 230c03352..5ed02d21a 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -490,7 +490,7 @@ AC_DEFUN([OVS_CHECK_MAKE_IF], [ovs_cv_gnu_make_if], [cat <<'EOF' > conftest.mk conftest.out: - echo $(if x,y,z) > conftest.out + echo $(if x,y,z) > conftest.out .PHONY: all EOF rm -f conftest.out -- 2.20.1