--- configure.orig	2012-11-06 16:02:24.000000000 +0000
+++ configure	2012-11-28 12:03:59.905827557 +0000
@@ -4567,10 +4567,10 @@
 					$ac_path_SWIG -python -py3 -c++ -shadow -I"$srcdir"/swig_lib/python conftest-python.i >&5 && \
 						echo "python wrapper created" >&5 && \
 						echo "testing std::set... ">&5 && \
-						grep SInt_discard conftest.py >& /dev/null && \
+						(grep SInt_discard conftest.py) >/dev/null 2>&1 && \
 						echo "std::set works" >&5 && \
 						echo "testing PyInt_FromSize_t..." >&5 && \
-						grep '#define PyInt_FromSize_t' conftest-python_wrap.cxx >& /dev/null && \
+						(grep '#define PyInt_FromSize_t' conftest-python_wrap.cxx) >/dev/null 2>&1 && \
 						echo "PyInt_FromSize_t is defined" >&5 && \
 					$ac_path_SWIG -perl -c++ -shadow -I"$srcdir"/swig_lib/perl5 conftest-perl.i >&5 && \
 						echo "perl wrapper created" >&5 && \
