diff --git a/configure b/configure
index d57f1007527c9666fa3e72dab36180306f27a32e..727d7f1d132601dc171c90c28e3146e52f2494ed 100755
--- a/configure
+++ b/configure
@@ -4864,7 +4864,7 @@ echo '01234567890123456789012345678901S.h:' >> testMakefile
 echo '01234567890123456789012345678901C.h:' >> testMakefile
 echo '01234567890123456789012345678901SK.cc:' >> testMakefile
 echo '01234567890123456789012345678901DynSK.cc:' >> testMakefile
-$GNU_MAKE -r -f testMakefile 2&>1 > /dev/null
+$GNU_MAKE -r -f testMakefile 2>&1 > /dev/null
 if test "$?" != "0" ; then
   rm -f testMakefile
   { echo "$as_me:$LINENO: ********** ERROR **********" >&5
diff --git a/configure.ac b/configure.ac
index eaa1e1e55199a52faab1eef63d174a240315985e..46e5ad7346cc2877324b02dc8087a11ae34cfa80 100644
--- a/configure.ac
+++ b/configure.ac
@@ -118,7 +118,7 @@ echo '01234567890123456789012345678901S.h:' >> testMakefile
 echo '01234567890123456789012345678901C.h:' >> testMakefile
 echo '01234567890123456789012345678901SK.cc:' >> testMakefile
 echo '01234567890123456789012345678901DynSK.cc:' >> testMakefile
-$GNU_MAKE -r -f testMakefile 2&>1 > /dev/null
+$GNU_MAKE -r -f testMakefile 2>&1 > /dev/null
 if test "$?" != "0" ; then
   rm -f testMakefile
   AC_MSG_NOTICE(********** ERROR **********)