X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=configure.ac;h=413ba7454aa681bb885b8a733836a497c154248d;hb=9d594903a44a41b0c8999906798369c2aa92d246;hp=934bf030dceaebafc3c1c94590108764d073b51b;hpb=4f5f37d9512a7fa57b5f98a973b009e47e9f4963;p=babeltrace.git diff --git a/configure.ac b/configure.ac index 934bf030..413ba745 100644 --- a/configure.ac +++ b/configure.ac @@ -1,7 +1,8 @@ # -*- Autoconf -*- # Process this file with autoconf to produce a configure script. -AC_INIT([babeltrace],[1.2.0],[mathieu dot desnoyers at efficios dot com]) +AC_PREREQ([2.50]) +AC_INIT([babeltrace],[1.3.0-pre],[jeremie dot galarneau at efficios dot com]) # Following the numbering scheme proposed by libtool for the library version # http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html @@ -35,6 +36,10 @@ if test ! -f "$srcdir/formats/ctf/metadata/ctf-parser.h"; then AC_MSG_ERROR([[bison not found and is required when building from git. Please install bison]]) fi + AC_PATH_PROG([BISON],[bison]) + AX_PROG_BISON_VERSION([2.4], [],[ + AC_MSG_ERROR([[Bison >= 2.4 is required when building from git]]) + ]) fi if test ! -f "$srcdir/formats/ctf/metadata/ctf-lexer.c"; then @@ -161,9 +166,9 @@ else fi if test "x${enable_python_bindings_doc:-yes}" = xyes; then - AC_CHECK_PROGS([SPHINXBUILD], [sphinx-build sphinx-build3 sphinx-build2], [no]) - AS_IF([test "x$SPHINXBUILD" = xno], - AC_MSG_ERROR([sphinx-build is required to build Python bindings documentation]) + AM_CHECK_PYTHON_SPHINX([PYTHON]) + AS_IF([test "x$PYTHON_SPHINX_EXISTS" = xno], + AC_MSG_ERROR([The Sphinx package for Python 3 is required to build Python bindings documentation]) ) fi