I had only tested with --enable-csharp=dotnet. On a machine that
does not have mono and mcs installed, this option should not be
necessary.


2024-10-09  Bruno Haible  <br...@clisp.org>

        csharpcomp-script: Recognize dotnet even without --enable-csharp=dotnet.
        * m4/csharpcomp.m4 (gt_CSHARPCOMP): Try 'dotnet' also when
        --enable-csharp=dotnet is not specified.

diff --git a/m4/csharpcomp.m4 b/m4/csharpcomp.m4
index 8465e85d77..7a92012484 100644
--- a/m4/csharpcomp.m4
+++ b/m4/csharpcomp.m4
@@ -1,5 +1,5 @@
 # csharpcomp.m4
-# serial 10
+# serial 11
 dnl Copyright (C) 2003-2005, 2007, 2009-2024 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -24,7 +24,7 @@ AC_DEFUN([gt_CSHARPCOMP]
   popdef([AC_MSG_RESULT])dnl
   popdef([AC_CHECKING])dnl
   popdef([AC_MSG_CHECKING])dnl
-  for impl in "$CSHARP_CHOICE" mono sscli no; do
+  for impl in "$CSHARP_CHOICE" mono dotnet sscli no; do
     case "$impl" in
       mono)
         if test -n "$HAVE_MCS_IN_PATH" \




Reply via email to