1 # csharpexec.m4 serial 1 (gettext-0.14)
2 dnl Copyright (C) 2003-2004 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 # Prerequisites of csharpexec.sh.
8 # Sets HAVE_CSHARPEXEC to nonempty if csharpexec.sh will work.
10 AC_DEFUN([gt_CSHARPEXEC],
12 AC_REQUIRE([gt_CSHARP_CHOICE])
13 AC_MSG_CHECKING([for C[#] program execution engine])
15 #if defined _WIN32 || defined __WIN32__ || defined __EMX__ || defined __DJGPP__
18 ], MONO_PATH_SEPARATOR=';', MONO_PATH_SEPARATOR=':')
20 pushdef([AC_MSG_CHECKING],[:])dnl
21 pushdef([AC_CHECKING],[:])dnl
22 pushdef([AC_MSG_RESULT],[:])dnl
23 AC_CHECK_PROG(HAVE_ILRUN_IN_PATH, ilrun, yes)
24 AC_CHECK_PROG(HAVE_MONO_IN_PATH, mono, yes)
25 popdef([AC_MSG_RESULT])dnl
26 popdef([AC_CHECKING])dnl
27 popdef([AC_MSG_CHECKING])dnl
28 for impl in "$CSHARP_CHOICE" pnet mono no; do
31 if test -n "$HAVE_ILRUN_IN_PATH" \
32 && ilrun --version >/dev/null 2>/dev/null; then
39 if test -n "$HAVE_MONO_IN_PATH" \
40 && mono --version >/dev/null 2>/dev/null; then
53 AC_MSG_RESULT([$ac_result])
55 AC_SUBST(MONO_PATH_SEPARATOR)