--- a/src/HOL/Tools/SMT/smt_setup_solvers.ML Wed Sep 21 15:08:15 2011 +0200
+++ b/src/HOL/Tools/SMT/smt_setup_solvers.ML Wed Sep 21 16:04:29 2011 +0200
@@ -125,9 +125,10 @@
error ("The SMT solver Z3 may only be used for non-commercial " ^
"applications.")
| Z3_Non_Commercial_Unknown =>
- error ("The SMT solver Z3 is not activated. To activate it, set " ^
- "the environment variable " ^ quote flagN ^ " to " ^ quote ("yes") ^
- "."))
+ error ("The SMT solver Z3 is not activated. To activate it, set\n" ^
+ "the environment variable " ^ quote flagN ^ " to " ^ quote "yes" ^ "." ^
+ (if getenv "Z3_COMPONENT" = "" then ""
+ else "\nSee also " ^ Path.print (Path.expand (Path.explode "$Z3_COMPONENT/etc/settings")))))
end