<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 23, 2013 at 8:48 PM, Paul Bone <span dir="ltr"><<a href="mailto:paul@bone.id.au" target="_blank">paul@bone.id.au</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">When I was addressing the review comments of my earlier submitted patches, I<br>
saw the opportunity to add the following additional change.<br>
<br>
--<br>
<br>
Provide a helpful error if no C sharp compiler could be found<br>
<br>
m4/mercury.m4:<br>
If the user specified one or more possible C sharp compilers and none<br>
of them were suitable, then report an error and abort.<br>
---<br>
m4/mercury.m4 | 7 +++++++<br>
1 file changed, 7 insertions(+)<br>
<br>
diff --git a/m4/mercury.m4 b/m4/mercury.m4<br>
index 88aa79f..dd34cc8 100644<br>
--- a/m4/mercury.m4<br>
+++ b/m4/mercury.m4<br>
@@ -369,6 +369,13 @@ EOF<br>
esac<br>
done<br>
<br>
+# If the user specified one or more compilers and we couldn't find any<br>
+# then abort configuration.<br>
+if test "$mercury_cv_with_csharp_compiler" != "" -a "$CSC" = ""; then<br>
+ AC_MSG_ERROR([No C sharp compilers could be found.]</blockquote><div><br></div><div>How about:</div><div><br></div><div> No working C# compiler could be found.</div><div><br></div><div>Looks fine otherwise.</div>
<div><br></div><div>Cheers,</div><div>Julien.</div><div><br></div><div> </div></div></div></div>