]> git.pld-linux.org Git - packages/dotnet-evolution-sharp.git/blame - dotnet-evolution-sharp-mint.patch
- drop obsolete and outdated manual inclusion of rpm macros
[packages/dotnet-evolution-sharp.git] / dotnet-evolution-sharp-mint.patch
CommitLineData
1ff7f794 1--- evolution-sharp-0.9.1/configure.in.orig 2005-08-19 20:03:23.000000000 +0200
2+++ evolution-sharp-0.9.1/configure.in 2005-08-22 19:41:47.000000000 +0200
3@@ -26,7 +26,22 @@
4 AC_SUBST(EBOOK_SOVERSION)
5 AC_SUBST(ECAL_SOVERSION)
3c997c67 6
fd9e4e7a 7-PKG_CHECK_MODULES(MONO, mono >= 1.0.0)
8+MONO_REQUIRED_VERSION=1.0.0
3c997c67
MK
9+PKG_CHECK_MODULES(MONO, mono >= $MONO_REQUIRED_VERSION, has_mono=true, has_mono=false)
10+PKG_CHECK_MODULES(MINT, mint >= $MONO_REQUIRED_VERSION, has_mint=true, has_mint=false)
fd9e4e7a 11+
3c997c67
MK
12+if test "x$has_mono" = "xtrue"; then
13+ echo "using mono"
14+ RUNTIME="mono --debug"
15+else
16+ if test "x$has_mint" = "xtrue"; then
1ff7f794 17+ echo "using mint"
18+ RUNTIME="mint"
3c997c67 19+ else
1ff7f794 20+ AC_MSG_ERROR([Unable to find mono or mint packages]);
3c997c67
MK
21+ fi
22+fi
23+AC_SUBST(RUNTIME)
3c997c67
MK
24 AC_PATH_PROG(CSC, mcs, no)
25 if test "x$CSC" = "xno"; then
26 AC_MSG_ERROR([Your mono installation doesn't expose mcs])
This page took 0.062922 seconds and 4 git commands to generate.