From 019147c3955b1b69712d377f31ccbaa99726b7a8 Mon Sep 17 00:00:00 2001 From: Jules Villard Date: Thu, 3 Dec 2015 10:56:27 -0800 Subject: [PATCH] check that python2.7 is present Reviewed By: jeremydubreil Differential Revision: D2713245 fb-gh-sync-id: 2b1e135 --- configure.ac | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configure.ac b/configure.ac index 62e902b2f..bab3adace 100644 --- a/configure.ac +++ b/configure.ac @@ -27,6 +27,10 @@ AC_PROG_LN_S AC_PROG_MAKE_SET AC_PROG_OBJC +AC_CHECK_TOOL([PYTHON27], [python2.7], [no]) +AC_ASSERT_PROG([python2.7], [$PYTHON27]) + +# OCaml dependencies AC_PROG_OCAML AC_ASSERT_PROG([ocamlc], [$OCAMLC]) AC_ASSERT_PROG([ocamlopt], [$OCAMLOPT])