[gbrainy] Use mcs always as compiler and standarize on 4.5 runtime
- From: Jordi Mas <jmas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gbrainy] Use mcs always as compiler and standarize on 4.5 runtime
- Date: Wed, 6 Jan 2016 11:22:13 +0000 (UTC)
commit 3f1c2c36b269ff567213f36cc19b7c100b096149
Author: Jordi Mas <jmas softcatala org>
Date: Wed Jan 6 12:22:03 2016 +0100
Use mcs always as compiler and standarize on 4.5 runtime
configure.ac | 20 +++++---------------
1 files changed, 5 insertions(+), 15 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 948d3bf..1df9d55 100644
--- a/configure.ac
+++ b/configure.ac
@@ -34,12 +34,10 @@ AM_PROG_LIBTOOL
GNOME_COMPILE_WARNINGS
AM_PATH_GLIB_2_0
-dnl --- Check for mono and dmcs or gmcs
+dnl --- Check for mono and mcs
AC_PATH_PROG(MONO, mono)
-
-AC_PATH_PROG(GMCS, gmcs)
-AC_PATH_PROG(CSC, dmcs, $GMCS)
+AC_PATH_PROG(CSC, mcs)
CSC_DEFINES=""
CS="C#"
@@ -66,18 +64,10 @@ dnl -- check for various mono assemblies that we need.
needed_assemblies="Mono.Posix Mono.Cairo Mono.CSharp"
for i in $needed_assemblies; do
AC_MSG_CHECKING([for $i.dll])
- if test ! \( -e `$PKG_CONFIG --variable=prefix mono`/lib/mono/2.0/$i.dll -o -e `$PKG_CONFIG
--variable=prefix mono`/lib64/mono/2.0/$i.dll \); then
- if test ! \( -e `$PKG_CONFIG --variable=prefix mono`/lib/mono/4.0/$i.dll -o -e `$PKG_CONFIG
--variable=prefix mono`/lib64/mono/4.0/$i.dll \); then
- if test ! \( -e `$PKG_CONFIG --variable=prefix mono`/lib/mono/4.5/$i.dll -o -e `$PKG_CONFIG
--variable=prefix mono`/lib64/mono/4.5/$i.dll \); then
- AC_MSG_ERROR([missing required mono 2.0/4.0/4.5 DLL: $i.dll])
- else
- AC_MSG_RESULT([found])
- fi
- else
- AC_MSG_RESULT([found])
- fi
+ if test ! \( -e `$PKG_CONFIG --variable=prefix mono`/lib/mono/4.5/$i.dll -o -e `$PKG_CONFIG
--variable=prefix mono`/lib64/mono/4.5/$i.dll \); then
+ AC_MSG_ERROR([missing required mono 4.5 DLL: $i.dll])
else
- AC_MSG_RESULT([found])
+ AC_MSG_RESULT([found])
fi
done
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]