From 71ab3ea6e1947b4c9cdcf18b377f887564882e49 Mon Sep 17 00:00:00 2001 From: Alex J Lennon Date: Mon, 20 Jul 2015 12:33:33 +0100 Subject: [PATCH] [build] Use mcs instead of gmcs as gmcs is not available in latest Mono Signed-off-by: Alex J Lennon --- configure.ac | 8 ++++---- src/Makefile.am | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/configure.ac b/configure.ac index 81c1839..912fae6 100644 --- a/configure.ac +++ b/configure.ac @@ -23,11 +23,11 @@ AC_SUBST(PKG_CONFIG) MONO_REQ_VERSION=1.1.13 PKG_CHECK_MODULES(MONO, mono >= $MONO_REQ_VERSION) -AC_PATH_PROG(GMCS, gmcs, no) -if test "x$GMCS" = "xno"; then - AC_MSG_ERROR([You need to install gmcs]) +AC_PATH_PROG(MCS, mcs, no) +if test "x$MCS" = "xno"; then + AC_MSG_ERROR([You need to install mcs]) fi -AC_SUBST(GMCS) +AC_SUBST(MCS) AC_PATH_PROG(GACUTIL, gacutil, no) if test "x$GACUTIL" = "xno"; then diff --git a/src/Makefile.am b/src/Makefile.am index 2f1f7bd..b656006 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -14,7 +14,7 @@ CSFILES = \ all: $(TARGET) $(TARGET): $(CSFILES) AssemblyInfo.cs - $(GMCS) -out:$@ $(CSFLAGS) $(LIBFLAGS) $^ + $(MCS) -out:$@ $(CSFLAGS) $(LIBFLAGS) $^ install-data-local: @if test -n '$(TARGET)'; then \