X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=m4%2Fax_try_compile_java.m4;h=3b08cfb91310071e26d8d62520dd5724b60c4102;hb=e03d7c66c57bf268b87296566a5160039f35ccfb;hp=a8ed6b2a368d0c65ed9a7af775879b9c1b791367;hpb=093c3f9bbdda113147ab03be62aaa37bd1c786b4;p=lttng-ust.git diff --git a/m4/ax_try_compile_java.m4 b/m4/ax_try_compile_java.m4 index a8ed6b2a..3b08cfb9 100644 --- a/m4/ax_try_compile_java.m4 +++ b/m4/ax_try_compile_java.m4 @@ -1,5 +1,7 @@ +# SPDX-License-Identifier: FSFAP +# # =========================================================================== -# 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 +31,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 +50,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])