Makefile: hide stderr of curl-config test
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 22 Nov 2012 03:19:57 +0000 (22:19 -0500)
committerJunio C Hamano <gitster@pobox.com>
Mon, 26 Nov 2012 18:31:11 +0000 (10:31 -0800)
You will get

$ make distclean 2>&1 | grep curl
/bin/sh: curl-config: not found
/bin/sh: curl-config: not found
/bin/sh: curl-config: not found
/bin/sh: curl-config: not found
/bin/sh: curl-config: not found
$

if you don't have a curl development package installed.

The intent is not to alarm the user, but just to test if there is
a new enough curl installed. However, if you look at search engine
suggested completions, the above "error" messages are confusing
people into thinking curl is a hard requirement.

Redirect this error output to /dev/null as it is not necessary to be
shown to the end users.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found