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:
authorMichael Hutchinson <mhutchinson@novell.com>2006-08-18 03:03:19 +0400
committerMichael Hutchinson <mhutchinson@novell.com>2006-08-18 03:03:19 +0400
commitf70ba1fcc881699c7c11ec9efc0b8edda1f9f01c (patch)
treec662d4c9104cbcd645413dca865564d6bac568bb /configure.in
parentb6763ded188743f117942c4166c2b3fbbc5146b4 (diff)
Enable AspNetEdit addin. Only tested with Firefox 1.5.
svn path=/trunk/monodevelop/; revision=63955
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in60
1 files changed, 58 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index 581cc28574..43a6b8b7c3 100644
--- a/configure.in
+++ b/configure.in
@@ -207,10 +207,61 @@ fi
AM_CONDITIONAL(ENABLE_ASPNET, test x$enable_aspnet = xyes)
AM_CONDITIONAL(ENABLE_DESIGNERSUPP, test x$enable_aspnet = xyes)
+
+
+dnl ASP.NET visual designer addin
+JSCALL_REQUIRED_VERSION=0.0.2
+AC_ARG_ENABLE(aspnetedit,
+ AC_HELP_STRING([--enable-aspnetedit],
+ [enable ASP.NET visual designer support [default=no]]),
+ enable_aspnetedit=yes, enable_aspnetedit=no)
+
+if test "x$enable_aspnet" = "xno"; then
+ enable_aspnetedit=no
+fi
+
+if test "x$enable_aspnetedit" = "xyes"; then
+ PKG_CHECK_MODULES(JSCALL, jscall-sharp >= $JSCALL_REQUIRED_VERSION)
+
+ ### Get javascript file supplied by JSCall
+ JSCALL_SCRIPT="`$PKG_CONFIG --variable=Script jscall-sharp`"
+ AC_SUBST(JSCALL_SCRIPT)
+
+ ### find assembly paths for unstable installed assemblies that will be
+ ### copied into the installation directory for local usage with the app
+ UNSTABLE_INSTALL_ASSEMBLIES="jscall-sharp"
+ INSTALLED_ASSEMBLIES="`$PKG_CONFIG --variable=Libraries $UNSTABLE_INSTALL_ASSEMBLIES`"
+ AC_SUBST(INSTALLED_ASSEMBLIES)
+
+ ### Find the Mozilla directory from JSCall -- we must use the same version
+ ### against which it was linked.
+ MOZILLA_HOME="`$PKG_CONFIG --variable=MozillaHome jscall-sharp`"
+
+ ### Find out how we need to install the chrome -- the installation mechanism
+ ### changed from FF 1.0 to FF 1.5
+ AC_MSG_CHECKING([method of Mozilla extension installation])
+ if test -f "$MOZILLA_HOME/chrome/installed-chrome.txt"; then
+ MOZILLA_EXTENSION_TYPE="installedchrome"
+ AC_MSG_RESULT([installed-chrome.txt])
+ else
+ MOZILLA_EXTENSION_TYPE="manifest"
+ AC_MSG_RESULT([manifest file])
+ fi
+
+ AM_CONDITIONAL(MOZILLA_EXTENSION_TYPE_TEXTFILE, test -f "$MOZILLA_HOME/chrome/installed-chrome.txt")
+
+ AC_SUBST(MOZILLA_HOME)
+ AC_SUBST(MOZILLA_EXTENSION_TYPE)
+
+ # get zip to create jar/xpi for chrome
+ AC_PATH_PROG(ZIP, zip)
+else
+ MOZILLA_HOME="`$PKG_CONFIG --variable=libdir mozilla-gtkmozembed`"
+ AC_SUBST(MOZILLA_HOME)
+fi
+AM_CONDITIONAL(ENABLE_ASPNETEDIT, test x$enable_aspnetedit = xyes)
-MOZILLA_HOME="`$PKG_CONFIG --variable=libdir mozilla-gtkmozembed`"
-AC_SUBST(MOZILLA_HOME)
AC_ARG_ENABLE(update-mimedb,
AC_HELP_STRING([--disable-update-mimedb],
@@ -314,6 +365,9 @@ Extras/MonoDevelop.GtkCore/Makefile
Extras/AspNetAddIn/Makefile
Extras/MonoDevelop.Autotools/Makefile
Extras/MonoDevelop.DesignerSupport/Makefile
+Extras/AspNetEdit/Makefile
+Extras/AspNetEdit/chrome/Makefile
+Extras/AspNetEdit/chrome/aspdesigner.manifest
Makefile
monodevelop
mdtool
@@ -326,6 +380,7 @@ echo "Configuration summary"
echo ""
echo " * Installation prefix = $prefix"
echo " * C# compiler = $CSC"
+echo " * Mozilla home: $MOZILLA_HOME"
echo " * mono-debugger: $enable_debugger"
echo " * MonoQuery support: $enable_monoquery"
@@ -345,4 +400,5 @@ echo " * NUnit support: $enable_nunit"
echo " * Mono class library development extensions: $enable_monoextensions"
echo " * Version control support: $enable_versioncontrol"
echo " * ASP.NET project support: $enable_aspnet"
+echo " * ASP.NET Visual Designer: $enable_aspnetedit"
echo ""