X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=configure.ac;h=9c2024e15012cce0992b5f168969aeac56df90fe;hb=79e073783af133c22b7c67ba474f511a6683857e;hp=8df8dee9c804d72afbf233432f71bd137218d4bf;hpb=8f7b565cb5c6fcbbcb4066c941efce27fd30c017;p=babeltrace.git diff --git a/configure.ac b/configure.ac index 8df8dee9..9c2024e1 100644 --- a/configure.ac +++ b/configure.ac @@ -573,15 +573,6 @@ AS_IF([test "x$enable_python_bindings_doc" = xyes], ] ) -AS_IF([test "x$enable_python_bindings_tests" = xyes], - [ - AM_CHECK_PYTHON_TAPPY([PYTHON]) - AS_IF([test "x$PYTHON_TAPPY_EXISTS" = xno], - [AC_MSG_ERROR([You need the tappy Python project to test the Python bindings (see )])] - ) - ] -) - AS_IF([test "x$enable_debug_info" = xyes], [ # Check if libelf and libdw are present @@ -630,6 +621,11 @@ LIBS="$LIBS $GLIB_LIBS" # glib.h is not platform specific but it includes glibconfig.h which is and # is usually installed in a non-standard path. +# Older versions of the pkg-config macros disallows PKG_* in the autoconf +# output. Specifically allow pkg_config_libdir to be able to print the +# error message. +m4_pattern_allow([PKG_CONFIG_LIBDIR]) + save_CFLAGS=${CFLAGS} CFLAGS="${CFLAGS} ${AM_CFLAGS}" AC_COMPILE_IFELSE([ @@ -657,7 +653,8 @@ AC_CONFIG_FILES([ Makefile bindings/python/Makefile bindings/python/bt2/Makefile - bindings/python/bt2/__init__.py + bindings/python/bt2/setup.py + bindings/python/bt2/bt2/__init__.py common/Makefile compat/Makefile cli/Makefile