gprofng: fix typo in configure.ac
authorVladimir Mezentsev <vladimir.mezentsev@oracle.com>
Thu, 10 Nov 2022 22:38:39 +0000 (14:38 -0800)
committerVladimir Mezentsev <vladimir.mezentsev@oracle.com>
Fri, 11 Nov 2022 01:25:07 +0000 (17:25 -0800)
gprofng/ChangeLog
2022-11-10  Vladimir Mezentsev  <vladimir.mezentsev@oracle.com>

* configure.ac: Fix typo in redirect operator.
* configure: Rebuild.

gprofng/configure
gprofng/configure.ac

index c90e36cb1cf41a8eb880453fdc755dedd8989ba9..8ad5ebd67beac5b3b9c26ca32745ee06af47784b 100755 (executable)
@@ -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=$?
index 2d7640dfdc8fe0b4c04de9b75be1007abc0a4e56..bbad953cf4ffea4fa9744784e461e9481908bab4 100644 (file)
@@ -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