summaryrefslogtreecommitdiff
path: root/m4/ax_prog_java_works.m4
diff options
context:
space:
mode:
authorLeo Davis <ldavis@speechfxinc.com>2012-09-07 11:25:56 +0200
committerPeter Simons <simons@cryp.to>2012-09-07 11:29:27 +0200
commit1acb2a797f945d99634d891aa9cb07bdec7a6dcc (patch)
tree7b8100ee8ce0372efedd26b5dd65050c6b463afe /m4/ax_prog_java_works.m4
parent51a683a671403afe0fc3bb1838d28f42b89d1fe1 (diff)
downloadautoconf-archive-1acb2a797f945d99634d891aa9cb07bdec7a6dcc.tar.gz
AX_PROG_JAVA_WORKS would never find a 'uudecode' that could decode base64, even if one was on the path.
See <http://savannah.gnu.org/patch/?7835> for further details.
Diffstat (limited to 'm4/ax_prog_java_works.m4')
-rw-r--r--m4/ax_prog_java_works.m46
1 files changed, 3 insertions, 3 deletions
diff --git a/m4/ax_prog_java_works.m4 b/m4/ax_prog_java_works.m4
index d340134..741bd56 100644
--- a/m4/ax_prog_java_works.m4
+++ b/m4/ax_prog_java_works.m4
@@ -47,12 +47,12 @@
# modified version of the Autoconf Macro, you may extend this special
# exception to the GPL to apply to your modified version as well.
-#serial 7
+#serial 8
AU_ALIAS([AC_PROG_JAVA_WORKS], [AX_PROG_JAVA_WORKS])
AC_DEFUN([AX_PROG_JAVA_WORKS], [
-AC_CHECK_PROG(UUDECODE, uudecode, no)
-if test x$uudecode != xno; then
+AC_PATH_PROG(UUDECODE, uudecode, [no])
+if test x$UUDECODE != xno; then
AC_CACHE_CHECK([if uudecode can decode base 64 file], ac_cv_prog_uudecode_base64, [
dnl /**
dnl * Test.java: used to test if java compiler works.