From: Vladimir Mezentsev Date: Thu, 10 Nov 2022 22:38:39 +0000 (-0800) Subject: gprofng: fix typo in configure.ac X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1c343a13ba24eb2dad39a94df1a369a0f62efd13;p=binutils-gdb.git gprofng: fix typo in configure.ac gprofng/ChangeLog 2022-11-10 Vladimir Mezentsev * configure.ac: Fix typo in redirect operator. * configure: Rebuild. --- diff --git a/gprofng/configure b/gprofng/configure index c90e36cb1cf..8ad5ebd67be 100755 --- a/gprofng/configure +++ b/gprofng/configure @@ -16572,7 +16572,7 @@ class Simple{ } } EOF - if { ac_try='$JAVAC configtest.java &5 2>&1' + if { ac_try='$JAVAC configtest.java >&5 2>&5' { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 (eval $ac_try) 2>&5 ac_status=$? diff --git a/gprofng/configure.ac b/gprofng/configure.ac index 2d7640dfdc8..bbad953cf4f 100644 --- a/gprofng/configure.ac +++ b/gprofng/configure.ac @@ -142,7 +142,7 @@ class Simple{ } } EOF - if AC_TRY_COMMAND($JAVAC configtest.java &AS_MESSAGE_LOG_FD 2>&1); then + if AC_TRY_COMMAND($JAVAC configtest.java >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD); then GPROFNG_BROKEN_JAVAC=no else GPROFNG_BROKEN_JAVAC=yes