~ubuntu-branches/ubuntu/trusty/libidn/trusty

« back to all changes in this revision

Viewing changes to gl/m4/csharp.m4

  • Committer: Bazaar Package Importer
  • Author(s): Simon Josefsson, Simon Josefsson
  • Date: 2009-04-17 00:22:30 UTC
  • mfrom: (1.2.11 upstream) (3.1.3 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090417002230-3on40qu1llxq7ybb
Tags: 1.14-3
[ Simon Josefsson ]
* Don't use autotools-dev, the config.* files in libidn
  are newer than what's in autotools-dev.
* Use more idiomatatic code to filter out platforms without gcj.
  Thanks to Adeodato Simó <dato@net.com.org.es>.
* Upload to unstable after testing in experimental.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# csharp.m4 serial 2 (gettext-0.14.2)
2
 
dnl Copyright (C) 2004-2005 Free Software Foundation, Inc.
 
1
# csharp.m4 serial 3
 
2
dnl Copyright (C) 2004-2005, 2009 Free Software Foundation, Inc.
3
3
dnl This file is free software; the Free Software Foundation
4
4
dnl gives unlimited permission to copy and/or distribute it,
5
5
dnl with or without modifications, as long as this notice is preserved.
9
9
AC_DEFUN([gt_CSHARP_CHOICE],
10
10
[
11
11
  AC_MSG_CHECKING([for preferred C[#] implementation])
12
 
  AC_ARG_ENABLE(csharp,
 
12
  AC_ARG_ENABLE([csharp],
13
13
    [  --enable-csharp[[=IMPL]]  choose preferred C[#] implementation (pnet or mono)],
14
14
    [CSHARP_CHOICE="$enableval"],
15
15
    CSHARP_CHOICE=any)
16
 
  AC_SUBST(CSHARP_CHOICE)
 
16
  AC_SUBST([CSHARP_CHOICE])
17
17
  AC_MSG_RESULT([$CSHARP_CHOICE])
18
18
  case "$CSHARP_CHOICE" in
19
19
    pnet)
20
 
      AC_DEFINE([CSHARP_CHOICE_PNET], 1,
 
20
      AC_DEFINE([CSHARP_CHOICE_PNET], [1],
21
21
        [Define if pnet is the preferred C# implementation.])
22
22
      ;;
23
23
    mono)
24
 
      AC_DEFINE([CSHARP_CHOICE_MONO], 1,
 
24
      AC_DEFINE([CSHARP_CHOICE_MONO], [1],
25
25
        [Define if mono is the preferred C# implementation.])
26
26
      ;;
27
27
  esac