summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xgprofng/configure2
-rw-r--r--gprofng/configure.ac2
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