[tomboy] Use dmcs if present, falling back on gmcs
- From: Jared L Jennings <jjennings src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tomboy] Use dmcs if present, falling back on gmcs
- Date: Sun, 20 May 2012 05:00:56 +0000 (UTC)
commit b928b493da170637c3441f9e9f4c1cbc481f106b
Author: Jared Jennings <jjennings src gnome org>
Date: Sun May 20 00:00:34 2012 -0500
Use dmcs if present, falling back on gmcs
This causes Tomboy to default to being compiled against the 4.0 profile if dmcs
is present in the system. This will fix the issue with Tomboy needing
GMCS=mono-csc or GMCS=dmcs in ./configure on Debian, Ubuntu, and other systems
that default to the 4.0 profile.
This should be harmless on systems that default to the 2.0 profile as 4.0
applications can use libraries compiled against the 2.0 profile without issue,
but not vice versa.
Signed-off-by: Chow Loong Jin <hyperair debian org>
Signed-off-by: Jared Jennings <jjennings src gnome org>
configure.in | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/configure.in b/configure.in
index 6c9af3b..a3410c4 100644
--- a/configure.in
+++ b/configure.in
@@ -35,9 +35,12 @@ AM_GCONF_SOURCE_2
#
# Find mcs
#
-AC_PATH_PROG(GMCS, gmcs)
+AC_PATH_PROG(GMCS, dmcs)
if test "x$GMCS" = "x" ; then
- AC_MSG_ERROR([Can't find "gmcs" in your PATH])
+ AC_PATH_PROG(GMCS, gmcs)
+fi
+if test "x$GMCS" = "x" ; then
+ AC_MSG_ERROR([Can't find "dmcs" or "gmcs" in your PATH])
fi
#
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]