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

github.com/mono/mono-tools.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMario Sopena Novales <masono@mono-cvs.ximian.com>2005-07-31 14:59:09 +0400
committerMario Sopena Novales <masono@mono-cvs.ximian.com>2005-07-31 14:59:09 +0400
commitca3ec82cc4c04dfb7fcf607163de2749861cf828 (patch)
tree711736806cb348ab9bb3ae9fd30dcdf1902c5b8f /configure.in
parentb786cf050784064cfda9abf61d513a707be75260 (diff)
Make Gecko conditional
svn path=/trunk/mono-tools/; revision=47870
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in9
1 files changed, 8 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 7cd539f8..2882cf82 100644
--- a/configure.in
+++ b/configure.in
@@ -42,8 +42,9 @@ AC_SUBST(NUNIT_LIBS)
#fi
AC_SUBST(GTK_SHARP_LIBS)
-PKG_CHECK_MODULES(GECKO_SHARP, gecko-sharp = 0.6)
+PKG_CHECK_MODULES(GECKO_SHARP, gecko-sharp = 0.6, enable_gecko=yes, enable_gecko=no)
AC_SUBST(GECKO_SHARP_LIBS)
+AM_CONDITIONAL(ENABLE_GECKO, test "x$enable_gecko" = "xyes")
dnl Intl
GETTEXT_PACKAGE=mono-tools
@@ -55,6 +56,7 @@ AM_GLIB_GNU_GETTEXT
GNUNIT_VERSION=0.5
AC_SUBST(GNUNIT_VERSION)
+
AC_OUTPUT([
Makefile
gnunit/Makefile
@@ -76,4 +78,9 @@ echo "---"
echo "Configuration summary"
echo ""
echo " * Installation prefix = $prefix"
+echo " * gecko-sharp.dll = $enable_gecko"
+echo ""
+echo " NOTE: if any of the above say 'no' you may install the"
+echo " corresponding development packages for them, rerun"
+echo " autogen.sh to include them in the build."
echo ""