summaryrefslogtreecommitdiff
path: root/m4/acinclude.m4
diff options
context:
space:
mode:
authorDalibor Topic <robilad@yahoo.com>2007-12-28 17:35:34 +0000
committerDalibor Topic <robilad@yahoo.com>2007-12-28 17:35:34 +0000
commit8007c025a63de616761a59e7e595000928671abe (patch)
tree9e3cac552e45b93e2cf84af2abff43f15d3d96fc /m4/acinclude.m4
parent6f77a3d70fc46917a80fc80afa5a0878476979a1 (diff)
downloadclasspath-8007c025a63de616761a59e7e595000928671abe.tar.gz
build fix for cygwin
2007-12-28 Dalibor Topic <robilad@kaffe.org> * m4/acinclude.m4 (CLASSPATH_WITH_GLIBJ): Use AC_PATH_PROGS instead of AC_PATH_PROG to check for FASTJAR as fastjar, gjar or jar. Add braces to AC_PATH_PROGS arguments. * tools/Makefile.am (TOOLS_ZIP), lib/Makefile.am (collections.jar, glibj.zip): Quote FASTJAR in case it's in a path with whitespace.
Diffstat (limited to 'm4/acinclude.m4')
-rw-r--r--m4/acinclude.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/acinclude.m4 b/m4/acinclude.m4
index b1cad98b3..e3e609789 100644
--- a/m4/acinclude.m4
+++ b/m4/acinclude.m4
@@ -275,7 +275,7 @@ AC_DEFUN([CLASSPATH_WITH_GLIBJ],
FASTJAR=${withval}
AC_MSG_RESULT([${FASTJAR}])
],
- [AC_PATH_PROG(FASTJAR, fastjar)])
+ [AC_PATH_PROGS([FASTJAR], [fastjar gjar jar])])
dnl We disable ZIP by default if we find fastjar.
if test x"${FASTJAR}" != x; then
ZIP=""