summaryrefslogtreecommitdiff
path: root/tools
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 /tools
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 'tools')
-rwxr-xr-xtools/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/Makefile.am b/tools/Makefile.am
index 6a766c84c..f63c63166 100755
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -181,12 +181,12 @@ $(TOOLS_ZIP): $(TOOLS_JAVA_FILES)
## First add classpath tools stuff.
(cd classes; \
if test "$(ZIP)" != ""; then $(ZIP) -r ../$(TOOLS_ZIP) .; fi; \
- if test "$(FASTJAR)" != ""; then $(FASTJAR) cf ../$(TOOLS_ZIP) .; fi; \
+ if test "$(FASTJAR)" != ""; then "$(FASTJAR)" cf ../$(TOOLS_ZIP) .; fi; \
cd ..)
## Now add ASM classes.
(cd asm; \
if test "$(ZIP)" != ""; then $(ZIP) -u -r ../$(TOOLS_ZIP) .; fi; \
- if test "$(FASTJAR)" != ""; then $(FASTJAR) uf ../$(TOOLS_ZIP) .; fi; \
+ if test "$(FASTJAR)" != ""; then "$(FASTJAR)" uf ../$(TOOLS_ZIP) .; fi; \
cd ..)
rm -rf classes