[gbrainy] dmcs compiler support
- From: Jordi Mas <jmas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gbrainy] dmcs compiler support
- Date: Fri, 24 Jun 2011 14:51:36 +0000 (UTC)
commit 95b00e815b5bd6c481071a9f576bf6ee24ae41ae
Author: Jordi Mas <jmas softcatala org>
Date: Fri Jun 24 16:51:10 2011 +0200
dmcs compiler support
configure.ac | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 00bd172..cb52187 100644
--- a/configure.ac
+++ b/configure.ac
@@ -17,14 +17,16 @@ AM_PROG_LIBTOOL
GNOME_COMPILE_WARNINGS
AM_PATH_GLIB_2_0
-dnl --- Check for mono and gmcs
+dnl --- Check for mono and dmcs or gmcs
AC_PATH_PROG(MONO, mono)
-AC_PATH_PROG(MCS, gmcs)
+
+AC_PATH_PROG(DMCS, dmcs, "")
+AC_PATH_PROG(CSC, gmcs, $DMCS)
CSC_DEFINES=""
CS="C#"
-if test ! -x "$MCS"; then
+if test ! -x "$CSC"; then
AC_MSG_ERROR([No $CS compiler found])
fi
@@ -185,7 +187,6 @@ AC_SUBST(CFLAGS)
AC_SUBST(CPPFLAGS)
AC_SUBST(LDFLAGS)
-AC_PATH_PROG(CSC, gmcs)
AC_SUBST(CSC)
AC_SUBST(CSC_DEFINES)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]