From a764973f5564265d478b4e44befe498df011b250 Mon Sep 17 00:00:00 2001 From: nosami Date: Mon, 9 May 2016 12:05:14 +0100 Subject: Check for existence of fsharpc before building --- main/configure.in | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'main/configure.in') diff --git a/main/configure.in b/main/configure.in index 2b387973ee..49019ce4c7 100644 --- a/main/configure.in +++ b/main/configure.in @@ -18,6 +18,7 @@ COMPAT_ADDIN_VERSION=m4_esyscmd_s([grep ^CompatVersion ../version.config|cut -d AC_PATH_PROG(MONO, mono) AC_PATH_PROG(MCS, mcs) +AC_PATH_PROG(FSHARPC, fsharpc) if test "x$MONO" = "x" ; then AC_MSG_ERROR([Can't find "mono" in your PATH]) @@ -27,6 +28,10 @@ if test "x$MCS" = "x" ; then AC_MSG_ERROR([Can't find "mcs" in your PATH]) fi +if test "x$FSHARPC" = "x" ; then + AC_MSG_ERROR([Can't find "fsharpc" in your PATH]) +fi + dnl Find pkg-config AC_PATH_PROG(PKG_CONFIG, pkg-config, no) if test "x$PKG_CONFIG" = "xno"; then -- cgit v1.2.3