From 1a2aba48803bb3f34ed3ced1639a92c2421cec53 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Wed, 9 Oct 2024 16:33:02 +0200 Subject: [PATCH] csharpcomp-script: Recognize dotnet even without --enable-csharp=dotnet. * m4/csharpcomp.m4 (gt_CSHARPCOMP): Try 'dotnet' also when --enable-csharp=dotnet is not specified. --- ChangeLog | 6 ++++++ m4/csharpcomp.m4 | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 5e36a3f4be..5440802d0e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2024-10-09 Bruno Haible + + csharpcomp-script: Recognize dotnet even without --enable-csharp=dotnet. + * m4/csharpcomp.m4 (gt_CSHARPCOMP): Try 'dotnet' also when + --enable-csharp=dotnet is not specified. + 2024-10-08 Bruno Haible csharpcomp: Add support for dotnet. 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" \ -- 2.39.5