]> git.pld-linux.org Git - packages/dotnet-evolution-sharp.git/blob - dotnet-evolution-sharp-mint.patch
- notice about missing BRs in previous commit
[packages/dotnet-evolution-sharp.git] / dotnet-evolution-sharp-mint.patch
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)
6  
7 -PKG_CHECK_MODULES(MONO, mono >= 1.0.0)
8 +MONO_REQUIRED_VERSION=1.0.0
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)
11 +
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
17 +        echo "using mint"
18 +       RUNTIME="mint"
19 +    else
20 +       AC_MSG_ERROR([Unable to find mono or mint packages]);
21 +    fi
22 +fi
23 +AC_SUBST(RUNTIME)
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.064343 seconds and 3 git commands to generate.