* build-aux/csharpexec.sh.in: Convert the first 'clix' argument to
native Windows syntax.
+2024-10-07 Bruno Haible <bruno@clisp.org>
+
+ csharpexec-script: Improve Cygwin support.
+ * build-aux/csharpexec.sh.in: Convert the first 'clix' argument to
+ native Windows syntax.
+
2024-10-07 Bruno Haible <bruno@clisp.org>
cygpath: New module.
@CLIX_PATH_VAR@="$CONF_CLIX_PATH"
fi
export @CLIX_PATH_VAR@
- test -z "$CSHARP_VERBOSE" || echo clix "$@"
- exec clix "$@"
+ shift
+ # On Windows, assume that 'clix' is a native Windows program,
+ # not a Cygwin program.
+ case "@build_os@" in
+ cygwin*)
+ prog=`cygpath -w "$prog"`
+ ;;
+ esac
+ test -z "$CSHARP_VERBOSE" || echo clix "$prog" "$@"
+ exec clix "$prog" "$@"
else
echo 'C# virtual machine not found, try installing mono, then reconfigure' 1>&2
exit 1