annotate m4/csharp.m4 @ 18070:d460ec17f09f

autoupdate
author Karl Berry <karl@freefriends.org>
date Tue, 28 Jul 2015 13:57:32 -0700
parents ab58d4870664
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
11012
7d60d765a19c Update or remove references to gettext release.
Bruno Haible <bruno@clisp.org>
parents: 11007
diff changeset
1 # csharp.m4 serial 3
17848
ab58d4870664 version-etc: new year
Paul Eggert <eggert@cs.ucla.edu>
parents: 17587
diff changeset
2 dnl Copyright (C) 2004-2005, 2009-2015 Free Software Foundation, Inc.
5902
95383b7d1b52 New module 'csharpexec'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
3 dnl This file is free software; the Free Software Foundation
95383b7d1b52 New module 'csharpexec'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
4 dnl gives unlimited permission to copy and/or distribute it,
95383b7d1b52 New module 'csharpexec'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
5 dnl with or without modifications, as long as this notice is preserved.
95383b7d1b52 New module 'csharpexec'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
6
95383b7d1b52 New module 'csharpexec'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
7 # Sets CSHARP_CHOICE to the preferred C# implementation:
95383b7d1b52 New module 'csharpexec'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
8 # 'pnet' or 'mono' or 'any' or 'no'.
95383b7d1b52 New module 'csharpexec'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
9 AC_DEFUN([gt_CSHARP_CHOICE],
95383b7d1b52 New module 'csharpexec'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
10 [
95383b7d1b52 New module 'csharpexec'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
11 AC_MSG_CHECKING([for preferred C[#] implementation])
11007
f6cba5a556ce many *.m4 files: improve m4 quoting
Jim Meyering <meyering@redhat.com>
parents: 5902
diff changeset
12 AC_ARG_ENABLE([csharp],
5902
95383b7d1b52 New module 'csharpexec'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
13 [ --enable-csharp[[=IMPL]] choose preferred C[#] implementation (pnet or mono)],
95383b7d1b52 New module 'csharpexec'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
14 [CSHARP_CHOICE="$enableval"],
95383b7d1b52 New module 'csharpexec'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
15 CSHARP_CHOICE=any)
11007
f6cba5a556ce many *.m4 files: improve m4 quoting
Jim Meyering <meyering@redhat.com>
parents: 5902
diff changeset
16 AC_SUBST([CSHARP_CHOICE])
5902
95383b7d1b52 New module 'csharpexec'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
17 AC_MSG_RESULT([$CSHARP_CHOICE])
95383b7d1b52 New module 'csharpexec'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
18 case "$CSHARP_CHOICE" in
95383b7d1b52 New module 'csharpexec'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
19 pnet)
11007
f6cba5a556ce many *.m4 files: improve m4 quoting
Jim Meyering <meyering@redhat.com>
parents: 5902
diff changeset
20 AC_DEFINE([CSHARP_CHOICE_PNET], [1],
5902
95383b7d1b52 New module 'csharpexec'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
21 [Define if pnet is the preferred C# implementation.])
95383b7d1b52 New module 'csharpexec'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
22 ;;
95383b7d1b52 New module 'csharpexec'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
23 mono)
11007
f6cba5a556ce many *.m4 files: improve m4 quoting
Jim Meyering <meyering@redhat.com>
parents: 5902
diff changeset
24 AC_DEFINE([CSHARP_CHOICE_MONO], [1],
5902
95383b7d1b52 New module 'csharpexec'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
25 [Define if mono is the preferred C# implementation.])
95383b7d1b52 New module 'csharpexec'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
26 ;;
95383b7d1b52 New module 'csharpexec'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
27 esac
95383b7d1b52 New module 'csharpexec'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
28 ])