From: Ben Pfaff Date: Mon, 19 May 2014 14:52:21 +0000 (-0700) Subject: acinclude.m4: Fix "sparse", via detection of GNU make "if" directive. X-Git-Tag: v2.4.0~2138 X-Git-Url: http://git.cascardo.eti.br/?p=cascardo%2Fovs.git;a=commitdiff_plain;h=380f86e4a75dfc1dd108b51169ba67882e1eb719 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 --- 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