Mercurial > hg > octave-jordi > gnulib-hg
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 |
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 | 2 dnl Copyright (C) 2004-2005, 2009-2015 Free Software Foundation, Inc. |
5902 | 3 dnl This file is free software; the Free Software Foundation |
4 dnl gives unlimited permission to copy and/or distribute it, | |
5 dnl with or without modifications, as long as this notice is preserved. | |
6 | |
7 # Sets CSHARP_CHOICE to the preferred C# implementation: | |
8 # 'pnet' or 'mono' or 'any' or 'no'. | |
9 AC_DEFUN([gt_CSHARP_CHOICE], | |
10 [ | |
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 | 13 [ --enable-csharp[[=IMPL]] choose preferred C[#] implementation (pnet or mono)], |
14 [CSHARP_CHOICE="$enableval"], | |
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 | 17 AC_MSG_RESULT([$CSHARP_CHOICE]) |
18 case "$CSHARP_CHOICE" in | |
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 | 21 [Define if pnet is the preferred C# implementation.]) |
22 ;; | |
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 | 25 [Define if mono is the preferred C# implementation.]) |
26 ;; | |
27 esac | |
28 ]) |