summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAndrew John Hughes <gnu_andrew@member.fsf.org>2007-10-08 23:09:15 +0000
committerAndrew John Hughes <gnu_andrew@member.fsf.org>2007-10-08 23:09:15 +0000
commitc865a3e98ef6cc114d59239867cbbd5225829f2f (patch)
tree3311da0eb96dcd464ef0d48b9323c7cb99199231 /lib
parent438e3d547e66271e3d3804c22a1a633cd5a6b11e (diff)
downloadclasspath-c865a3e98ef6cc114d59239867cbbd5225829f2f.tar.gz
2007-10-08 Andrew John Hughes <gnu_andrew@member.fsf.org>
PR classpath/33623: * examples/Makefile.am: Exit with no compiler. * lib/Makefile.am: Likewise. * m4/acinclude.m4: Handle ecj and javac using separate variables and catch when JAVAC/ECJ is empty.
Diffstat (limited to 'lib')
-rw-r--r--lib/Makefile.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am
index 684f9e7b5..3cec4bbaf 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -25,6 +25,9 @@ JCOMPILER = $(JAVAC) -bootclasspath '' -classpath $(compile_classpath) -d . @cla
#if FOUND_KJC
### FIXME: from what I can tell, kjc does not support a -encoding option.
#JCOMPILER = $(KJC) -classpath .:$(USER_CLASSLIB) -d . @classes
+else
+JCOMPILER = echo "No compiler found" 1>&2; exit 1
+#endif
#endif # FOUND_KJC
#endif # FOUND_GCJ
#endif # FOUND_JIKES