Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZoltan Varga <vargaz@gmail.com>2017-08-09 02:54:51 +0300
committerGitHub <noreply@github.com>2017-08-09 02:54:51 +0300
commit62c576b042c6be9c2d84d96eea12e8071ab89aee (patch)
treec45712e413985c6e83d4f8129197e6111de252e9 /configure.ac
parent242dce8c9e0db1c0576e3a51ffbe871227a78c8d (diff)
[btls] Compile btls using ninja if available. (#5333)
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 2d4c6059a0e..4933db5a934 100644
--- a/configure.ac
+++ b/configure.ac
@@ -686,6 +686,9 @@ AC_ARG_WITH(crosspkgdir, [ --with-crosspkgdir=/path/to/pkg-config/dir Chan
fi
)
+AC_CHECK_PROG(ninja, ninja, yes, no)
+AM_CONDITIONAL(NINJA, test x$ninja != xno)
+
AC_ARG_ENABLE(werror, [ --enable-werror Pass -Werror to the C compiler], werror_flag=$enableval, werror_flag=no)
if test x$werror_flag = xyes; then
WERROR_CFLAGS="-Werror"