Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main/configure.in18
1 files changed, 10 insertions, 8 deletions
diff --git a/main/configure.in b/main/configure.in
index a2cb283855..34c3991891 100644
--- a/main/configure.in
+++ b/main/configure.in
@@ -120,14 +120,6 @@ MONOADDINS_REQUIRED_VERSION=0.6
GTKSHARP_REQUIRED_VERSION=2.12.8
MONODOC_REQUIRED_VERSION=1.0
-AC_PATH_PROG(CMAKE, cmake, no)
-if test "x$CMAKE" = "xno"; then
- AC_MSG_ERROR([You need to install cmake for Git support to be built])
-fi
-
-PKG_CHECK_MODULES(LIBSSH2, libssh2)
-AC_SUBST(LIBSSH2_LIBS)
-
PKG_CHECK_MODULES(GLIB_SHARP, glib-sharp-2.0 >= $GTKSHARP_REQUIRED_VERSION)
AC_SUBST(GLIB_SHARP_LIBS)
PKG_CHECK_MODULES(GTK_SHARP, gtk-sharp-2.0 >= $GTKSHARP_REQUIRED_VERSION)
@@ -240,6 +232,16 @@ fi
AM_CONDITIONAL(ENABLE_WINDOWSPLATFORM, [test x$enable_windowsplatform = xyes])
+if test x$enable_gnomeplatform = xyes && test x$enable_git = xyes; then
+ AC_PATH_PROG(CMAKE, cmake, no)
+ if test "x$CMAKE" = "xno"; then
+ AC_MSG_ERROR([You need to install cmake for Git support to be built])
+ fi
+
+ PKG_CHECK_MODULES(LIBSSH2, libssh2)
+ AC_SUBST(LIBSSH2_LIBS)
+fi
+
dnl Intl
ALL_LINGUAS="cs da de es fr ja pt_BR tr pl it zh_TW zh_CN ru sl ca gl pt sv nl id hu nb ko uk"
AC_SUBST(ALL_LINGUAS)