aboutsummaryrefslogtreecommitdiff
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 c90e36c..8ad5ebd 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 2d7640d..bbad953 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