diff options
| author | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2009-01-24 09:33:47 +0000 |
|---|---|---|
| committer | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2009-01-24 09:33:47 +0000 |
| commit | dd9d4c30fcd20dc6dd9424bb25aacab0bd34da81 (patch) | |
| tree | dc093144721a530f07ffb60739cc5ac30ec03cbb | |
| parent | 33bbf7a7de2361ced173857827c88204326e6bb5 (diff) | |
| download | lasso-dd9d4c30fcd20dc6dd9424bb25aacab0bd34da81.tar.gz lasso-dd9d4c30fcd20dc6dd9424bb25aacab0bd34da81.tar.xz lasso-dd9d4c30fcd20dc6dd9424bb25aacab0bd34da81.zip | |
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.
| -rw-r--r-- | configure.ac | 4 |
1 files 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) |
