summaryrefslogtreecommitdiffstats
path: root/m4/ax_try_compile_java.m4
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2019-04-04 18:26:14 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2019-04-04 18:26:14 (GMT)
commitca1165f3ab5121e433eb8ffa4de74e061c8b3cd1 (patch)
tree24b60c102d5ad82392ba42f6cfb5b012dd39d971 /m4/ax_try_compile_java.m4
parent7dfec79e315df8c9001ec10f8d4ff7bba39ff924 (diff)
downloadhdf5-ca1165f3ab5121e433eb8ffa4de74e061c8b3cd1.zip
hdf5-ca1165f3ab5121e433eb8ffa4de74e061c8b3cd1.tar.gz
hdf5-ca1165f3ab5121e433eb8ffa4de74e061c8b3cd1.tar.bz2
Update java m4 scripts
Diffstat (limited to 'm4/ax_try_compile_java.m4')
-rw-r--r--m4/ax_try_compile_java.m48
1 files changed, 4 insertions, 4 deletions
diff --git a/m4/ax_try_compile_java.m4 b/m4/ax_try_compile_java.m4
index a8ed6b2..245c36c 100644
--- a/m4/ax_try_compile_java.m4
+++ b/m4/ax_try_compile_java.m4
@@ -1,5 +1,5 @@
# ===========================================================================
-# http://www.gnu.org/software/autoconf-archive/ax_try_compile_java.html
+# https://www.gnu.org/software/autoconf-archive/ax_try_compile_java.html
# ===========================================================================
#
# SYNOPSIS
@@ -29,7 +29,7 @@
# and this notice are preserved. This file is offered as-is, without any
# warranty.
-#serial 8
+#serial 10
AU_ALIAS([AC_TRY_COMPILE_JAVA], [AX_TRY_COMPILE_JAVA])
AC_DEFUN([AX_TRY_COMPILE_JAVA],[
@@ -48,8 +48,8 @@ dnl Don't remove the temporary files here, so they can be examined.
else
echo "configure: failed program was:" >&AS_MESSAGE_LOG_FD
cat Test.java >&AS_MESSAGE_LOG_FD
-ifelse([$4], , , [ rm -fr Test.java Test.class
+ifelse([$4], , , [ rm -f Test.java Test.class
$4
])dnl
fi
-rm -fr Test.java Test.class])
+rm -f Test.java Test.class])