X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=m4%2Fcheck_tappy.m4;fp=m4%2Fcheck_tappy.m4;h=0000000000000000000000000000000000000000;hp=317813ffcaa80ba42889894cd69a8d047a1ca377;hb=0235b0db7de5bcacdb3650c92461f2ce5eb2143d;hpb=0f77b5c9dfac44ff6eff8fb66fefadea72846c97 diff --git a/m4/check_tappy.m4 b/m4/check_tappy.m4 deleted file mode 100644 index 317813ff..00000000 --- a/m4/check_tappy.m4 +++ /dev/null @@ -1,32 +0,0 @@ -# check_tappy.m4 -- check for tappy Python package -# -# Copyright (C) 2015 - Philippe Proulx -# -# This file is free software; the Free Software Foundation gives -# unlimited permission to copy and/or distribute it, with or without -# modifications, as long as this notice is preserved. - -# Sphinx ships with a script named "sphinx-build", which is usually -# installed in "/usr/bin". Unfortunately, this script uses -# "/usr/bin/python" as its interpreter. Since "/usr/bin/python" can -# be either Python 2 or Python 3, depending on the distribution, and -# since we absolutely need the Python 3 Sphinx package for Babeltrace -# because it needs to import our bindings for autodocumentation, -# there's no way to tell if "sphinx-build" is actually using Python 2 -# or Python 3. -# -# This macro checks if the Sphinx package ("sphinx") is installed -# and visible from the interpreter designated by the PYTHON variable. -# It sets PYTHON_SPHINX_EXISTS to "yes" if Sphinx is found for the -# given Python interpreter, otherwise "no". - -# AM_CHECK_PYTHON_SPHINX(PYTHON) -# --------------------------------------------------------------------------- -AC_DEFUN([AM_CHECK_PYTHON_TAPPY], - [prog=" -try: - from tap import TAPTestRunner - print('yes') -except ImportError: - print('no')" - PYTHON_TAPPY_EXISTS=`${$1} -c "$prog"`])