X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=configure.ac;h=eb14fbd5c337ff343bb7de8fc9905b1f162a9713;hb=5fd17f7375186eeba668a7717f6fd062999e3683;hp=bc81a66d8199882a5b61a79e3bd785f8892ed34e;hpb=65d3497f615f8e56481f47ea9eec2ebb01ae21fa;p=babeltrace.git diff --git a/configure.ac b/configure.ac index bc81a66d..eb14fbd5 100644 --- a/configure.ac +++ b/configure.ac @@ -1,7 +1,7 @@ # -*- Autoconf -*- # Process this file with autoconf to produce a configure script. -AC_INIT([babeltrace],[1.2.0-rc2],[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 @@ -11,6 +11,7 @@ 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]) @@ -120,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"], [ @@ -160,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 @@ -174,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