[chronojump: 1/3] Remove checks for unused deps



commit 09103248fa8181c2975375c84e06acca54b7f83b
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Fri May 15 18:22:18 2020 +0200

    Remove checks for unused deps

 configure.ac | 28 +++++-----------------------
 1 file changed, 5 insertions(+), 23 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index ecc7434c..acd265ff 100644
--- a/configure.ac
+++ b/configure.ac
@@ -52,41 +52,23 @@ dnl Check for gettext utils
 AC_PATH_PROG(MSGFMT, msgfmt, no)
 if test "x$MSGFMT" = "xno"; then
        AC_MSG_ERROR([gettext not found])
-else 
+else
        AC_SUBST(MSGFMT,[msgfmt])
 fi
 
 IT_PROG_INTLTOOL([0.40.0])
 AM_GLIB_GNU_GETTEXT
 
-
 dnl Mono and C# compiler
-dnl Check first for a 4.0 compiler or than fallback to 2.0
-SHAMROCK_CHECK_MONO_MODULE(2.4.0)
-PKG_CHECK_EXISTS([mono >= 2.8],
-               [SHAMROCK_FIND_MONO_4_0_COMPILER
-               SHAMROCK_CHECK_MONO_4_0_GAC_ASSEMBLIES([
-                       System.Data
-                       Mono.Cairo
-                       Mono.Posix
-                       Mono.Data.Sqlite
-               ])]
-,
-               [SHAMROCK_FIND_MONO_2_0_COMPILER
-               SHAMROCK_CHECK_MONO_2_0_GAC_ASSEMBLIES([
-                       System.Data
-                       Mono.Cairo
-                       Mono.Posix
-                       Mono.Data.Sqlite
-               ])])
-AC_SUBST(MCS, ["$MCS"])
-SHAMROCK_FIND_MONO_RUNTIME
+dnl Check first for a 4.0 compiler
+AC_PATH_PROG(MONO, mono, yes)
+AC_PATH_PROG(MCS, mcs, yes)
 
 dnl Check for gettext utils
 AC_PATH_PROG(MSGFMT, msgfmt, no)
 if test "x$MSGFMT" = "xno"; then
        AC_MSG_ERROR([gettext not found])
-else 
+else
        AC_SUBST(MSGFMT,[msgfmt])
 fi
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]