summaryrefslogtreecommitdiff
path: root/lib
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 /lib
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 'lib')
-rw-r--r--lib/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am
index 390d3c34e..9bffead69 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -45,7 +45,7 @@ collections.jar: mkcollections.pl
$(JCOMPILER) `$(FIND) $(COLLECTIONS_PREFIX) -name '*.java' -type f -print`
#endif
if test "$(FASTJAR)" != ""; then \
- $(FASTJAR) cf $@ $(COLLECTIONS_PREFIX); \
+ "$(FASTJAR)" cf $@ $(COLLECTIONS_PREFIX); \
else \
echo "fastjar not found" > collections.jar; \
fi
@@ -94,7 +94,7 @@ else
glibj.zip: classes compile-classes resources
if test "$(ZIP)" != ""; then $(ZIP) -r -D glibj.zip gnu java javax org sun META-INF > /dev/null; fi
- if test "$(FASTJAR)" != ""; then $(FASTJAR) cf glibj.zip gnu java javax org sun META-INF; fi
+ if test "$(FASTJAR)" != ""; then "$(FASTJAR)" cf glibj.zip gnu java javax org sun META-INF; fi
endif # USE_PREBUILT_GLIBJ_ZIP