1
# csharp.m4 serial 2 (gettext-0.14.2)
2
dnl Copyright (C) 2004-2005 Free Software Foundation, Inc.
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.
7
# Sets CSHARP_CHOICE to the preferred C# implementation:
8
# 'pnet' or 'mono' or 'any' or 'no'.
9
AC_DEFUN([gt_CSHARP_CHOICE],
11
AC_MSG_CHECKING([for preferred C[#] implementation])
13
[ --enable-csharp[[=IMPL]] choose preferred C[#] implementation (pnet or mono)],
14
[CSHARP_CHOICE="$enableval"],
16
AC_SUBST(CSHARP_CHOICE)
17
AC_MSG_RESULT([$CSHARP_CHOICE])
18
case "$CSHARP_CHOICE" in
20
AC_DEFINE([CSHARP_CHOICE_PNET], 1,
21
[Define if pnet is the preferred C# implementation.])
24
AC_DEFINE([CSHARP_CHOICE_MONO], 1,
25
[Define if mono is the preferred C# implementation.])