From dd9d4c30fcd20dc6dd9424bb25aacab0bd34da81 Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Sat, 24 Jan 2009 09:33:47 +0000 Subject: Autoconf: redirect shell warning in one of configure.ac tests - configure.ac: when testing if bindings have been already generated with differents settings do not let grep emit warnings. --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 81955458..b55d2b0d 100644 --- a/configure.ac +++ b/configure.ac @@ -740,7 +740,7 @@ LASSO_WSF_SUPPORT=0 if test "x$enable_wsf" = "xyes"; then AC_DEFINE(LASSO_WSF_ENABLED, [], [Define if ID-WSF support is enabled]) LASSO_WSF_SUPPORT=1 - if grep -q 'WSF_SUPPORT.*0' $srcdir/*/lasso_wrap.c; + if grep -q 'WSF_SUPPORT.*0' $srcdir/*/lasso_wrap.c 2>/dev/null; then if test "x$SWIG" = "xecho"; then AC_MSG_WARN(Bindings were pre-generated without ID-WSF support) @@ -750,7 +750,7 @@ if test "x$enable_wsf" = "xyes"; then rm -f $srcdir/*/lasso_wrap.c $srcdir/csharp/liblassosharpglue_wrap.c fi else - if grep -q 'WSF_SUPPORT.*1' $srcdir/*/lasso_wrap.c; + if grep -q 'WSF_SUPPORT.*1' $srcdir/*/lasso_wrap.c 2>/dev/null; then if test "x$SWIG" = "xecho"; then AC_MSG_WARN(Bindings were pre-generated with ID-WSF support) -- cgit