+2005-05-01 Bruno Haible <bruno@clisp.org>
+
+ * csharpcomp.m4 (gt_CSHARPCOMP): Check that cscc can actually compile
+ a trivial program.
+ Reported by Pierre <pierre42d@9online.fr>.
+
2005-04-11 Bruno Haible <bruno@clisp.org>
* gettext-0.14.4 released.
-# csharpcomp.m4 serial 4 (gettext-0.14.2)
+# csharpcomp.m4 serial 5 (gettext-0.15)
dnl Copyright (C) 2003-2005 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
case "$impl" in
pnet)
if test -n "$HAVE_CSCC_IN_PATH" \
- && cscc --version >/dev/null 2>/dev/null; then
+ && cscc --version >/dev/null 2>/dev/null \
+ && (
+ # See if pnetlib is well installed.
+ echo 'class ConfTest { static void Main() { } }' > conftest.cs
+ cscc -o conftest.exe conftest.cs 2>/dev/null
+ error=$?
+ rm -f conftest.cs conftest.exe
+ exit $error
+ ); then
HAVE_CSCC=1
ac_result="cscc"
break