AC_PREREQ([2.50])
-AC_INIT([babeltrace],[1.4.0],[jeremie.galarneau@efficios.com],[],[https://diamon.org/babeltrace])
+AC_INIT([babeltrace],[1.5.1],[jeremie.galarneau@efficios.com],[],[https://diamon.org/babeltrace])
AC_SUBST([BABELTRACE_LIBRARY_VERSION], [1:0:0])
AC_CONFIG_HEADERS([config.h])
AC_FUNC_MKTIME
AC_FUNC_MMAP
AC_FUNC_REALLOC
-AC_FUNC_STRERROR_R
AC_CHECK_FUNCS([ \
atexit \
dirfd \
MINGW32=no
DEFAULT_ENABLE_DEBUG_INFO=yes
+LT_NO_UNDEFINED=""
AS_CASE([$host_os],
[solaris*|darwin*],
[
[mingw*],
[
MINGW32=yes
+ LT_NO_UNDEFINED="-no-undefined"
+ ],
+ [cygwin*],
+ [
+ LT_NO_UNDEFINED="-no-undefined"
]
)
AM_CONDITIONAL([BABELTRACE_BUILD_WITH_MINGW], [test "x$MINGW32" = "xyes"])
+AC_SUBST(LT_NO_UNDEFINED)
# Check what libraries are required on this platform to link sockets programs.
AX_LIB_SOCKET_NSL
link_with_libc_uuid=yes
],
[
- # for MinGW32 we have our own internal implemenation of uuid using Windows functions.
+ # for MinGW32 we have our own internal implementation of uuid using Windows functions.
if test "x$MINGW32" = xno; then
AC_MSG_ERROR([Cannot find libuuid uuid_generate nor libc uuid_create. Use [LDFLAGS]=-Ldir to specify their location.])
fi
babeltracectfwriterincludedir="${includedir}/babeltrace/ctf-writer"
AC_SUBST(babeltracectfwriterincludedir)
+babeltracectfirincludedir="${includedir}/babeltrace/ctf-ir"
+AC_SUBST(babeltracectfirincludedir)
+
AC_CONFIG_FILES([
Makefile
types/Makefile
formats/lttng-live/Makefile
formats/ctf/metadata/Makefile
formats/ctf/writer/Makefile
+ formats/ctf/ir/Makefile
converter/Makefile
doc/Makefile
lib/Makefile