X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=configure.ac;h=eb14fbd5c337ff343bb7de8fc9905b1f162a9713;hb=af181248caf97d9c4e22182181f70a16b40ffead;hp=327f4ab94cac184f62103872fb2d9308c6496372;hpb=8c0bc778509809dcc313ede4e6871425b6b003bc;p=babeltrace.git diff --git a/configure.ac b/configure.ac index 327f4ab9..eb14fbd5 100644 --- a/configure.ac +++ b/configure.ac @@ -1,11 +1,17 @@ # -*- Autoconf -*- # Process this file with autoconf to produce a configure script. -AC_INIT([babeltrace],[1.2.0-rc1],[mathieu dot desnoyers at efficios dot com]) +AC_INIT([babeltrace],[1.2.0],[mathieu dot desnoyers 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 +AC_SUBST([BABELTRACE_LIBRARY_VERSION], [1:0:0]) + AC_CONFIG_AUX_DIR([config]) AC_CANONICAL_TARGET AC_CANONICAL_HOST AM_INIT_AUTOMAKE([foreign dist-bzip2 no-dist-gzip]) +AM_MAINTAINER_MODE([enable]) m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) AC_CONFIG_MACRO_DIR([m4]) @@ -115,8 +121,13 @@ AM_CONDITIONAL([USE_PYTHON], [test "x${enable_python:-yes}" = xyes]) if test "x${enable_python:-yes}" = xyes; then AX_PKG_SWIG($swig_version, [], [ AC_MSG_ERROR([SWIG $swig_version or newer is needed]) ]) - AM_PATH_PYTHON + AM_PATH_PYTHON([3.0], , [AC_MSG_ERROR(Python3 is not available or is not the default Python interpreter on your system. See the README file to learn how to override your distribution's default Python interpreter.)]) + AM_PATH_PYTHON_MODULES([PYTHON]) + # pythondir is the path where extra modules are to be installed + pythondir=$PYTHON_PREFIX/$PYTHON_MODULES_PATH + # pyexecdir is the path that contains shared objects used by the extra modules + pyexecdir=$PYTHON_EXEC_PREFIX/$PYTHON_MODULES_PATH AC_ARG_VAR([PYTHON_INCLUDE], [Include flags for python, bypassing python-config]) AC_ARG_VAR([PYTHON_CONFIG], [Path to python-config]) AS_IF([test -z "$PYTHON_INCLUDE"], [ @@ -155,6 +166,9 @@ AC_SUBST(babeltracectfincludedir) babeltracectfwriterincludedir="${includedir}/babeltrace/ctf-writer" AC_SUBST(babeltracectfwriterincludedir) +babeltracectfirincludedir="${includedir}/babeltrace/ctf-ir" +AC_SUBST(babeltracectfirincludedir) + AC_CONFIG_FILES([ Makefile types/Makefile @@ -169,6 +183,7 @@ AC_CONFIG_FILES([ formats/lttng-live/Makefile formats/ctf/metadata/Makefile formats/ctf/writer/Makefile + formats/ctf/ir/Makefile converter/Makefile doc/Makefile lib/Makefile