Add python tap runner to the tree
[babeltrace.git] / configure.ac
index 8df8dee9c804d72afbf233432f71bd137218d4bf..9c2024e15012cce0992b5f168969aeac56df90fe 100644 (file)
@@ -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 <https://github.com/python-tap/tappy>)])]
-    )
-  ]
-)
-
 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
This page took 0.02429 seconds and 4 git commands to generate.