references to ghc and ocaml
authorhaftmann
Fri, 02 Jul 2010 17:27:44 +0200
changeset 37702 abd5e69bd8cd
parent 37701 411717732710
child 37703 b4c799bab553
references to ghc and ocaml
src/Tools/Code/etc/settings
--- a/src/Tools/Code/etc/settings	Fri Jul 02 17:27:44 2010 +0200
+++ b/src/Tools/Code/etc/settings	Fri Jul 02 17:27:44 2010 +0200
@@ -1,2 +1,12 @@
 
 ISABELLE_TOOLS="$ISABELLE_TOOLS:$COMPONENT/lib/Tools"
+
+EXEC_GHC=$(choosefrom \
+  "$ISABELLE_HOME/contrib/ghc" \
+  "$ISABELLE_HOME/../ghc" \
+  $(type -p ghc))
+
+EXEC_OCAML=$(choosefrom \
+  "$ISABELLE_HOME/contrib/ocaml" \
+  "$ISABELLE_HOME/../ocaml" \
+  $(type -p ocaml))