public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] gprofng: fix typo in configure.ac
@ 2022-11-10 22:40 vladimir.mezentsev
  2022-11-11  0:49 ` Mike Frysinger
  0 siblings, 1 reply; 2+ messages in thread
From: vladimir.mezentsev @ 2022-11-10 22:40 UTC (permalink / raw)
  To: binutils; +Cc: Vladimir Mezentsev

From: Vladimir Mezentsev <vladimir.mezentsev@oracle.com>

gprofng/ChangeLog
2022-11-10  Vladimir Mezentsev  <vladimir.mezentsev@oracle.com>

	* configure.ac: Fix typo in redirect operator.
	* configure: Rebuild.
---
 gprofng/configure    | 2 +-
 gprofng/configure.ac | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

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
-- 
2.31.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] gprofng: fix typo in configure.ac
  2022-11-10 22:40 [PATCH] gprofng: fix typo in configure.ac vladimir.mezentsev
@ 2022-11-11  0:49 ` Mike Frysinger
  0 siblings, 0 replies; 2+ messages in thread
From: Mike Frysinger @ 2022-11-11  0:49 UTC (permalink / raw)
  To: vladimir.mezentsev; +Cc: binutils

[-- Attachment #1: Type: text/plain, Size: 287 bytes --]

On 10 Nov 2022 14:40, Vladimir Mezentsev via Binutils wrote:
> -      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

looks like an obvious fix, so go for it
-mike

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-11-11  0:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-10 22:40 [PATCH] gprofng: fix typo in configure.ac vladimir.mezentsev
2022-11-11  0:49 ` Mike Frysinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).