diff options
Diffstat (limited to 'dev-libs/libindicate/files/libindicate-0.4.91-optional-mono.patch')
| -rw-r--r-- | dev-libs/libindicate/files/libindicate-0.4.91-optional-mono.patch | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/dev-libs/libindicate/files/libindicate-0.4.91-optional-mono.patch b/dev-libs/libindicate/files/libindicate-0.4.91-optional-mono.patch index 323224ad1c7..d663389db9b 100644 --- a/dev-libs/libindicate/files/libindicate-0.4.91-optional-mono.patch +++ b/dev-libs/libindicate/files/libindicate-0.4.91-optional-mono.patch @@ -6,10 +6,10 @@ +AC_ARG_ENABLE([mono], + AC_HELP_STRING([--disable-mono], [Disable Mono bindings generation]), -+ [enable_mono=$enableval], enable_mono=auto) ++ [enable_mono=$enableval], [enable_mono=auto]) +AM_CONDITIONAL([WANT_MONO], [test "x$enable_mono" != "xno"]) + -+if test "x$enable_mono" != "xno" ; then ++AS_IF([test "x$enable_mono" != "xno"],[ MONO_REQUIRED_VERSION=1.0 PKG_CHECK_MODULES(MONO_DEPENDENCY, mono >= $MONO_REQUIRED_VERSION, has_mono=true, has_mono=false) @@ -17,10 +17,20 @@ AC_SUBST(GAPI_CODEGEN) AC_PATH_PROG(GAPI_FIXUP, gapi2-fixup, no) AC_SUBST(GAPI_FIXUP) -+fi ++]) ########################### # Check for Python support +@@ -273,2 +280,7 @@ +- GObject Introspection: $enable_introspection +-]) ++ GObject Introspection: $enable_introspection ++]) ++ ++AS_IF([test "x$has_mono" = "xtrue"], ++ [AC_MSG_NOTICE([ Mono bindings: yes])], ++ [AC_MSG_NOTICE([ Mono bindings: no])] ++) --- bindings/Makefile.am.orig 2011-01-29 21:10:05.095991987 +0100 +++ bindings/Makefile.am 2011-01-29 21:11:06.349142195 +0100 @@ -1,2 +1,6 @@ |
