Author: hectorg
Date: 2007-07-04 20:34:44 -0400 (Wed, 04 Jul 2007)
New Revision: 81363

Modified:
   trunk/monodevelop/configure.in
Log:
Oops wrong wrong directory.


Modified: trunk/monodevelop/configure.in
===================================================================
--- trunk/monodevelop/configure.in      2007-07-05 00:30:42 UTC (rev 81362)
+++ trunk/monodevelop/configure.in      2007-07-05 00:34:44 UTC (rev 81363)
@@ -1,26 +1,22 @@
-AC_INIT([pdf2scielo], 0.0.0.1, [EMAIL PROTECTED])
+AC_INIT([monodevelop], 0.14, [EMAIL PROTECTED])
 AC_PREREQ(2.53)
-AM_INIT_AUTOMAKE([gnu 1.9 tar-ustar])
+AM_INIT_AUTOMAKE([1.9 tar-ustar])
 AM_MAINTAINER_MODE
 
-ASSEMBLY_VERSION=0.0.0.1
+AC_PROG_INTLTOOL([0.25])
 
+ASSEMBLY_VERSION=0.14.0.0
+
 AC_PATH_PROG(MONO, mono)
 AC_PATH_PROG(MCS, gmcs)
 
 if test "x$MONO" = "x" ; then
-        AC_MSG_ERROR([Can't find "mono" in your PATH])
+       AC_MSG_ERROR([Can't find "mono" in your PATH])
 fi
 
 if test "x$MCS" = "x" ; then
   AC_MSG_ERROR([Can't find "gmcs" in your PATH])
 fi
-
-AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
-if test "x$PKG_CONFIG" = "xno"; then
-        AC_MSG_ERROR([You need to install pkg-config])
-fi
-
 AC_SUBST(PATH)
 AC_SUBST(LD_LIBRARY_PATH)
 
@@ -56,22 +52,22 @@
 
 if test "x$has_mono" = "xtrue"; then
     if test `uname -s` = "Darwin"; then
-        AC_PATH_PROG(RUNTIME, mono, no)
-        AC_PATH_PROG(CSC, gmcs, no)
-        LIB_PREFIX=
-        LIB_SUFFIX=.dylib
+       AC_PATH_PROG(RUNTIME, mono, no)
+       AC_PATH_PROG(CSC, gmcs, no)
+       LIB_PREFIX=
+       LIB_SUFFIX=.dylib
     else
-        AC_PATH_PROG(RUNTIME, mono, no)
-        AC_PATH_PROG(CSC, gmcs, no)
-        LIB_PREFIX=.so
-        LIB_SUFFIX=
+       AC_PATH_PROG(RUNTIME, mono, no)
+       AC_PATH_PROG(CSC, gmcs, no)
+       LIB_PREFIX=.so
+       LIB_SUFFIX=
     fi
 else
     if test "x$has_mint" = "xtrue"; then
-        AC_PATH_PROG(RUNTIME, mint, no)
-        AC_PATH_PROG(CSC, gmcs, no)
-        LIB_PREFIX=.so
-        LIB_SUFFIX=
+       AC_PATH_PROG(RUNTIME, mint, no)
+       AC_PATH_PROG(CSC, gmcs, no)
+       LIB_PREFIX=.so
+       LIB_SUFFIX=
     fi
 fi
 
@@ -114,13 +110,13 @@
    AC_HELP_STRING([--enable-debugger],
                    [enable support for the Mono Debugger [default=no]]),
    [PKG_CHECK_MODULES(MONO_DEBUGGER, mono-debugger >= 
$MONO_DEBUGGER_REQUIRED_VERSION,
-                                     enable_debugger=yes, enable_debugger=no)],
+                                    enable_debugger=yes, enable_debugger=no)],
    enable_debugger=no)
  AM_CONDITIONAL(ENABLE_DEBUGGER, test x$enable_debugger = xyes)
- AC_SUBST(MONO_DEBUGGER_LIBS)
+ AC_SUBST(MONO_DEBUGGER_LIBS) 
 
 if test "x$enable_debugger" = "xyes"; then
-        AC_MSG_ERROR([The debugger add-in is not currently supported due to 
the API changes being done in the Mono debugger.])
+       AC_MSG_ERROR([The debugger add-in is not currently supported due to the 
API changes being done in the Mono debugger.])
 fi
 
 
@@ -129,58 +125,58 @@
 dnl and for ikvm
 IKVM_REQUIRED_VERSION=0.10
 AC_ARG_ENABLE(java,
-        AC_HELP_STRING([--enable-java],
-                [enable support for Java via ikvm [default=no]]),
-                [PKG_CHECK_MODULES(IKVM, ikvm >= $IKVM_REQUIRED_VERSION, 
enable_java=yes, enable_java=no)],
-                enable_java=no)
+       AC_HELP_STRING([--enable-java],
+               [enable support for Java via ikvm [default=no]]),
+               [PKG_CHECK_MODULES(IKVM, ikvm >= $IKVM_REQUIRED_VERSION, 
enable_java=yes, enable_java=no)],
+               enable_java=no)
 AM_CONDITIONAL(ENABLE_JAVA, test x$enable_java = xyes)
 
 BOO_REQUIRED_VERSION=0.7.5.2013
 AC_ARG_ENABLE(boo,
-        AC_HELP_STRING([--enable-boo],
-                [enable support for boo [default=no]]),
-                [PKG_CHECK_MODULES(BOO, boo >= $BOO_REQUIRED_VERSION, 
enable_boo=yes, enable_boo=no)],
-                enable_boo=no)
+       AC_HELP_STRING([--enable-boo],
+               [enable support for boo [default=no]]),
+               [PKG_CHECK_MODULES(BOO, boo >= $BOO_REQUIRED_VERSION, 
enable_boo=yes, enable_boo=no)],
+               enable_boo=no)
 
 AM_CONDITIONAL(ENABLE_BOO, test x$enable_boo = xyes)
 AC_SUBST(BOO_LIBS)
 
 if test "x$enable_boo" = "xyes" ; then
-        AC_PATH_PROG(BOOC, booc)
+       AC_PATH_PROG(BOOC, booc)
 fi
 
 NEMERLE_REQUIRED_VERSION=0.9.3.99
 AC_ARG_ENABLE(nemerle,
-        AC_HELP_STRING([--enable-nemerle],
-                [enable support for Nemerle [default=no]]),
-                [PKG_CHECK_MODULES(NEMERLE, nemerle >= 
$NEMERLE_REQUIRED_VERSION, enable_nemerle=yes, enable_nemerle=no)],
-                enable_nemerle=no)
+       AC_HELP_STRING([--enable-nemerle],
+               [enable support for Nemerle [default=no]]),
+               [PKG_CHECK_MODULES(NEMERLE, nemerle >= 
$NEMERLE_REQUIRED_VERSION, enable_nemerle=yes, enable_nemerle=no)],
+               enable_nemerle=no)
 
 AM_CONDITIONAL(ENABLE_NEMERLE, test x$enable_nemerle = xyes)
 AC_SUBST(NEMERLE_LIBS)
 
 if test "x$enable_nemerle" = "xyes" ; then
-        AC_PATH_PROG(NCC, ncc)
+       AC_PATH_PROG(NCC, ncc)
 fi
 
 AC_ARG_ENABLE(monoextensions,
-        AC_HELP_STRING([--enable-monoextensions],
-                [enable extensions for Mono development [default=yes]]),
-        enable_monoextensions=${enableval}, enable_monoextensions=yes)
+       AC_HELP_STRING([--enable-monoextensions],
+               [enable extensions for Mono development [default=yes]]),
+       enable_monoextensions=${enableval}, enable_monoextensions=yes)
 
 AM_CONDITIONAL(ENABLE_MONOEXTENSIONS, test x$enable_monoextensions = xyes)
 
 AC_ARG_ENABLE(versioncontrol,
-        AC_HELP_STRING([--enable-versioncontrol],
-                [enable version control support [default=yes]]),
-                enable_versioncontrol=${enableval}, enable_versioncontrol=yes)
+       AC_HELP_STRING([--enable-versioncontrol],
+               [enable version control support [default=yes]]),
+               enable_versioncontrol=${enableval}, enable_versioncontrol=yes)
 
 AM_CONDITIONAL(ENABLE_VERSIONCONTROL, test x$enable_versioncontrol = xyes)
 
 AC_ARG_ENABLE(subversion,
-        AC_HELP_STRING([--enable-subversion],
-                [enable Subversion support [default=no]]),
-                enable_versioncontrol=yes, enable_subversion=no)
+       AC_HELP_STRING([--enable-subversion],
+               [enable Subversion support [default=no]]),
+               enable_versioncontrol=yes, enable_subversion=no)
 
 AM_CONDITIONAL(ENABLE_SUBVERSION, test x$enable_subversion = xyes)
 
@@ -189,9 +185,9 @@
 dnl *** available MonoQuery database providers...         ***
 dnl *********************************************************
 AC_ARG_ENABLE(monoquery,
-        AC_HELP_STRING([--enable-monoquery],
-                [enable MonoQuery support [default=auto]]),
-                enable_monoquery=${enableval}, enable_monoquery=yes)
+       AC_HELP_STRING([--enable-monoquery],
+               [enable MonoQuery support [default=auto]]),
+               enable_monoquery=${enableval}, enable_monoquery=yes)
 
 monoquery_avail=0
 enable_postgres=no
@@ -211,25 +207,25 @@
 using ${Using};
 
 namespace Autoconf.Try.Compile {
-        public class Program {
-                public static void Main (string [[]] args)
-                {
-                        ${Dbase}Connection connection = new ${Dbase}Connection 
();
-                        connection.Open ();
-                }
-        }
+       public class Program {
+               public static void Main (string [[]] args)
+               {
+                       ${Dbase}Connection connection = new ${Dbase}Connection 
();
+                       connection.Open ();
+               }
+       }
 }
 EOF
       $CSC myconftest.cs -r:System.Data $ExtraDbAssemblies > /dev/null 2>&1
       if test $? == 0; then
-         my_ac_conftest_result="yes"
-         monoquery_avail=`expr $monoquery_avail + 1`
+        my_ac_conftest_result="yes"
+        monoquery_avail=`expr $monoquery_avail + 1`
       else
          my_ac_conftest_result="no"
       fi
       rm -f myconftest.cs myconftest.exe
    }
-
+   
    AC_MSG_CHECKING([for PostgreSQL support])
    ExtraDbAssemblies="-r:Npgsql"
    Using="Npgsql"
@@ -237,7 +233,7 @@
    monoquery_try_compile
    enable_postgres=$my_ac_conftest_result
    AC_MSG_RESULT($my_ac_conftest_result)
-
+   
    AC_MSG_CHECKING([for MySQL support])
    ExtraDbAssemblies="-r:ByteFX.Data"
    Using="ByteFX.Data.MySqlClient"
@@ -245,7 +241,7 @@
    monoquery_try_compile
    enable_mysql=$my_ac_conftest_result
    AC_MSG_RESULT($my_ac_conftest_result)
-
+   
    AC_MSG_CHECKING([for SQLite support])
    ExtraDbAssemblies="-r:Mono.Data.SqliteClient"
    Using="Mono.Data.SqliteClient"
@@ -253,7 +249,7 @@
    monoquery_try_compile
    enable_sqlite=$my_ac_conftest_result
    AC_MSG_RESULT($my_ac_conftest_result)
-
+   
    AC_MSG_CHECKING([for Oracle support])
    ExtraDbAssemblies="-r:System.Data.OracleClient"
    Using="System.Data.OracleClient"
@@ -261,7 +257,7 @@
    monoquery_try_compile
    enable_oracle=$my_ac_conftest_result
    AC_MSG_RESULT($my_ac_conftest_result)
-
+   
    AC_MSG_CHECKING([for SQL Server support])
    ExtraDbAssemblies=""
    Using="System.Data.SqlClient"
@@ -269,7 +265,7 @@
    monoquery_try_compile
    enable_sqlserv=$my_ac_conftest_result
    AC_MSG_RESULT($my_ac_conftest_result)
-
+   
    AC_MSG_CHECKING([for Sybase support])
    ExtraDbAssemblies="-r:Mono.Data.SybaseClient"
    Using="Mono.Data.SybaseClient"
@@ -277,7 +273,7 @@
    monoquery_try_compile
    enable_sybase=$my_ac_conftest_result
    AC_MSG_RESULT($my_ac_conftest_result)
-
+   
    dnl If no providers are available, disable MonoQuery support
    if test $monoquery_avail == 0; then
       enable_monoquery="no"
@@ -297,82 +293,82 @@
 XSP_VERSION=0.1
 XSP2_VERSION=0.2
 AC_ARG_ENABLE(aspnet,
-        AC_HELP_STRING([--enable-aspnet],
-                [enable ASP.NET project support [default=no]]),
-                enable_aspnet=yes, enable_aspnet=no)
+       AC_HELP_STRING([--enable-aspnet],
+               [enable ASP.NET project support [default=no]]),
+               enable_aspnet=yes, enable_aspnet=no)
 
 if test "x$enable_aspnet" = "xyes"; then
-        PKG_CHECK_MODULES(XSP, xsp >= $XSP_VERSION xsp-2 >= $XSP2_VERSION)
+       PKG_CHECK_MODULES(XSP, xsp >= $XSP_VERSION xsp-2 >= $XSP2_VERSION)
 fi
 
-AM_CONDITIONAL(ENABLE_ASPNET, test x$enable_aspnet = xyes)
+AM_CONDITIONAL(ENABLE_ASPNET, test x$enable_aspnet = xyes) 
 
 
 #We need to know where Mozilla is for launch scripts and possible for 
AspNetEdit
 #Check pkg-config first
 MOZILLA_HOME="`$PKG_CONFIG --variable=libdir mozilla-gtkmozembed`"
 if !(test -n "$MOZILLA_HOME"); then
-        MOZILLA_HOME="`$PKG_CONFIG --variable=libdir firefox-gtkmozembed`"
+       MOZILLA_HOME="`$PKG_CONFIG --variable=libdir firefox-gtkmozembed`"
 fi
 if !(test -n "$MOZILLA_HOME"); then
-        MOZILLA_HOME="`$PKG_CONFIG --variable=libdir xulrunner-gtkmozembed`"
+       MOZILLA_HOME="`$PKG_CONFIG --variable=libdir xulrunner-gtkmozembed`"
 fi
 
 #if MOZILLA_HOME is still empty, try to detect without pkg_config
 #(NOTE: any changes to this block should be kept in sync with the one in 
monodevelop.in)
 if !(test -n "$MOZILLA_HOME"); then
-        if test -n "$MOZILLA_FIVE_HOME"; then
-                MOZILLA_HOME=$MOZILLA_FIVE_HOME
-        elif grep GRE_PATH /etc/gre.d/*.conf > /dev/null ; then
-                MOZILLA_HOME=$(grep -h GRE_PATH= /etc/gre.d/*.conf | cut -d 
'"' -f 2 -d = | head -n 1)
-        elif [ $(which mozilla 2>/dev/null) ] && grep MOZILLA_FIVE_HOME= 
"$(which mozilla)" > /dev/null ; then
-                MOZILLA_HOME=$(grep MOZILLA_FIVE_HOME= $(which mozilla) | cut 
-d '"' -f 2 | cut -d '=' -f 2 )
-        elif [ $(which firefox 2>/dev/null) ] && grep MOZILLA_FIVE_HOME= 
"$(which firefox)" > /dev/null ; then
-                MOZILLA_HOME=$(grep MOZILLA_FIVE_HOME= $(which firefox) | cut 
-d '"' -f 2 | cut -d '=' -f 2 )
-        elif [ $(which firefox 2>/dev/null) ] && grep MOZILLA_LIBDIR= "$(which 
firefox)" > /dev/null ; then
-                MOZILLA_HOME=$(grep MOZILLA_LIBDIR= $(which firefox) | cut -d 
'"' -f 2 | cut -d '=' -f 2)
-        else
-                if test "x$enable_aspnetedit" = "xyes"; then
-                        AC_MSG_ERROR([Cannot detect Mozilla library directory. 
AspNetEdit addin cannot be built.])
-                else
-                        AC_MSG_WARN([Cannot detect Mozilla library directory. 
WelcomePage addin may not be able to function.])
-                fi
-        fi
+       if test -n "$MOZILLA_FIVE_HOME"; then
+               MOZILLA_HOME=$MOZILLA_FIVE_HOME
+       elif grep GRE_PATH /etc/gre.d/*.conf > /dev/null ; then
+               MOZILLA_HOME=$(grep -h GRE_PATH= /etc/gre.d/*.conf | cut -d '"' 
-f 2 -d = | head -n 1)
+       elif [ $(which mozilla 2>/dev/null) ] && grep MOZILLA_FIVE_HOME= 
"$(which mozilla)" > /dev/null ; then
+               MOZILLA_HOME=$(grep MOZILLA_FIVE_HOME= $(which mozilla) | cut 
-d '"' -f 2 | cut -d '=' -f 2 )
+       elif [ $(which firefox 2>/dev/null) ] && grep MOZILLA_FIVE_HOME= 
"$(which firefox)" > /dev/null ; then
+               MOZILLA_HOME=$(grep MOZILLA_FIVE_HOME= $(which firefox) | cut 
-d '"' -f 2 | cut -d '=' -f 2 )
+       elif [ $(which firefox 2>/dev/null) ] && grep MOZILLA_LIBDIR= "$(which 
firefox)" > /dev/null ; then
+               MOZILLA_HOME=$(grep MOZILLA_LIBDIR= $(which firefox) | cut -d 
'"' -f 2 | cut -d '=' -f 2)
+       else
+               if test "x$enable_aspnetedit" = "xyes"; then
+                       AC_MSG_ERROR([Cannot detect Mozilla library directory. 
AspNetEdit addin cannot be built.])
+               else
+                       AC_MSG_WARN([Cannot detect Mozilla library directory. 
WelcomePage addin may not be able to function.])
+               fi
+       fi
 fi
-
+       
 AC_SUBST(MOZILLA_HOME)
 
 # ASP.NET visual designer addin
 AC_ARG_ENABLE(aspnetedit,
-        AC_HELP_STRING([--enable-aspnetedit],
-                [enable ASP.NET visual designer support [default=no]]),
-                enable_aspnetedit=yes, enable_aspnetedit=no)
+       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
-        AC_MSG_WARN([Cannot enable AspNetEdit without ASP.NET project 
support.])
+       enable_aspnetedit=no
+       AC_MSG_WARN([Cannot enable AspNetEdit without ASP.NET project support.])
 fi
 
 if test "x$enable_aspnetedit" = "xyes"; then
 
-        ### 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
-
-        AC_SUBST(MOZILLA_EXTENSION_TYPE)
-
-        # get zip to create jar/xpi for chrome
-        AC_PATH_PROG(ZIP, zip)
-        if test "x$ZIP" = "x" ; then
-                AC_MSG_ERROR([Can't find "zip" in your PATH])
-        fi
+       ### 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
+       
+       AC_SUBST(MOZILLA_EXTENSION_TYPE)
+       
+       # get zip to create jar/xpi for chrome
+       AC_PATH_PROG(ZIP, zip)
+       if test "x$ZIP" = "x" ; then
+               AC_MSG_ERROR([Can't find "zip" in your PATH])
+       fi
 fi
 
 AM_CONDITIONAL(MOZILLA_EXTENSION_TYPE_TEXTFILE, test -f 
"$MOZILLA_HOME/chrome/installed-chrome.txt")

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to