diff options
author | Gabriele Svelto <gabriele.svelto@gmail.com> | 2012-06-16 21:36:06 +0200 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2012-06-16 21:36:06 +0200 |
commit | ebd0d60970ec98ff1c0d50a81fbc354ab1034417 (patch) | |
tree | 077329fde5e8f33c6b4d61414c72f73132a64b0e /m4/ax_prog_java_works.m4 | |
parent | 4005deb118aabefe7e61bdcc45c3aec9728e6471 (diff) | |
download | autoconf-archive-ebd0d60970ec98ff1c0d50a81fbc354ab1034417.tar.gz |
Replace the obsolete AC_FD_CC macro with AS_MESSAGE_LOG_FD.
See <http://savannah.gnu.org/patch/?7793> for further details.
Diffstat (limited to 'm4/ax_prog_java_works.m4')
-rw-r--r-- | m4/ax_prog_java_works.m4 | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/m4/ax_prog_java_works.m4 b/m4/ax_prog_java_works.m4 index c54bc52..d340134 100644 --- a/m4/ax_prog_java_works.m4 +++ b/m4/ax_prog_java_works.m4 @@ -47,7 +47,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 6 +#serial 7 AU_ALIAS([AC_PROG_JAVA_WORKS], [AX_PROG_JAVA_WORKS]) AC_DEFUN([AX_PROG_JAVA_WORKS], [ @@ -81,9 +81,9 @@ EOF if $UUDECODE Test.uue; then ac_cv_prog_uudecode_base64=yes else - echo "configure: __oline__: uudecode had trouble decoding base 64 file 'Test.uue'" >&AC_FD_CC - echo "configure: failed file was:" >&AC_FD_CC - cat Test.uue >&AC_FD_CC + echo "configure: __oline__: uudecode had trouble decoding base 64 file 'Test.uue'" >&AS_MESSAGE_LOG_FD + echo "configure: failed file was:" >&AS_MESSAGE_LOG_FD + cat Test.uue >&AS_MESSAGE_LOG_FD ac_cv_prog_uudecode_base64=no fi rm -f Test.uue]) @@ -115,16 +115,16 @@ if test x$ac_cv_prog_uudecode_base64 != xyes; then if AC_TRY_COMMAND($JAVAC $JAVACFLAGS $JAVA_TEST) && test -s $CLASS_TEST; then : else - echo "configure: failed program was:" >&AC_FD_CC - cat $JAVA_TEST >&AC_FD_CC + echo "configure: failed program was:" >&AS_MESSAGE_LOG_FD + cat $JAVA_TEST >&AS_MESSAGE_LOG_FD AC_MSG_ERROR(The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)) fi fi if AC_TRY_COMMAND($JAVA $JAVAFLAGS $TEST) >/dev/null 2>&1; then ac_cv_prog_java_works=yes else - echo "configure: failed program was:" >&AC_FD_CC - cat $JAVA_TEST >&AC_FD_CC + echo "configure: failed program was:" >&AS_MESSAGE_LOG_FD + cat $JAVA_TEST >&AS_MESSAGE_LOG_FD AC_MSG_ERROR(The Java VM $JAVA failed (see config.log, check the CLASSPATH?)) fi rm -fr $JAVA_TEST $CLASS_TEST Test.uue |