acinclude.m4: Fix "sparse", via detection of GNU make "if" directive.
authorBen Pfaff <blp@nicira.com>
Mon, 19 May 2014 14:52:21 +0000 (07:52 -0700)
committerBen Pfaff <blp@nicira.com>
Mon, 19 May 2014 14:53:01 +0000 (07:53 -0700)
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 <blp@nicira.com>
Acked-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp>
acinclude.m4

index 230c033..5ed02d2 100644 (file)
@@ -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