]> git.pld-linux.org Git - packages/dotnet-dbus-sharp.git/blob - dbus-mint.patch
- based on dbus.spec, no official tarball yet
[packages/dotnet-dbus-sharp.git] / dbus-mint.patch
1 --- configure.in.orig   2005-01-13 10:14:39.181278096 +0100
2 +++ configure.in        2005-01-13 10:16:51.891103136 +0100
3 @@ -193,10 +193,13 @@
4  MONO_REQUIRED_VERSION=0.95
5  AC_SUBST(MONO_REQUIRED_VERSION)
6  PKG_CHECK_MODULES(MONO_DEPENDENCY, mono >= $MONO_REQUIRED_VERSION, have_mono=true, have_mono=false)
7 +PKG_CHECK_MODULES(MONO_DEPENDENCY, mint >= $MONO_REQUIRED_VERSION, have_mint=true, have_mint=false)
8  
9  if test "x$enable_mono" = "xyes"; then
10         if test "x$have_mono" = "xfalse"; then
11 -               AC_MSG_ERROR([Mono was not found])
12 +           if test "x$have_mint" = "xfalse"; then
13 +               AC_MSG_ERROR([Mono or Mint was not found])
14 +           fi
15         fi
16  fi
17  
18 @@ -213,10 +216,15 @@
19                 LIB_SUFFIX=
20         fi
21  else
22 +    if test "x$have_mint" = "xtrue"; then
23 +       AC_PATH_PROG(RUNTIME, mint, no)
24 +       AC_PATH_PROG(CSC, mcs, no)
25 +    else
26         AC_PATH_PROG(CSC, csc.exe, no)
27         RUNTIME=
28         LIB_PREFIX=
29         LIB_SUFFIX=.dylib
30 +    fi
31  fi
32  
33  if test x$enable_mono = xyes; then
This page took 0.081432 seconds and 3 git commands to generate.