From 435aa29aff0527d36aafa1b657ae70b9db5f9ea5 Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Thu, 10 Sep 2020 15:20:03 -0400 Subject: [PATCH] Rename AM_CHECK_PYTHON_SPHINX to AE_CHECK_PYTHON_SPHINX MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit The AM prefix is reserved for upstream automake macros, use our own AE prefix which stands for "Autotools EfficiOS". This is part of an effort to standardize our custom macros across all our autotools based projects. Signed-off-by: Michael Jeanson Signed-off-by: Jérémie Galarneau Change-Id: I5e03597945c38710ccad84fa1959834dabeab60d --- configure.ac | 2 +- m4/{check_sphinx.m4 => ae_check_sphinx.m4} | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename m4/{check_sphinx.m4 => ae_check_sphinx.m4} (94%) diff --git a/configure.ac b/configure.ac index 70cd018a..f424973d 100644 --- a/configure.ac +++ b/configure.ac @@ -525,7 +525,7 @@ AS_IF([AE_IS_FEATURE_ENABLED([python-bindings]) || AE_IS_FEATURE_ENABLED([python AE_IF_FEATURE_ENABLED([python-bindings-doc], [ - AM_CHECK_PYTHON_SPHINX([PYTHON]) + AE_CHECK_PYTHON_SPHINX([PYTHON]) AS_IF([test "x$PYTHON_SPHINX_EXISTS" = xno], [ AC_MSG_ERROR([The Sphinx package for Python 3 is required to build the Python bindings documentation]) ]) diff --git a/m4/check_sphinx.m4 b/m4/ae_check_sphinx.m4 similarity index 94% rename from m4/check_sphinx.m4 rename to m4/ae_check_sphinx.m4 index 5e9dcbc1..4a9e85d8 100644 --- a/m4/check_sphinx.m4 +++ b/m4/ae_check_sphinx.m4 @@ -20,9 +20,9 @@ # It sets PYTHON_SPHINX_EXISTS to "yes" if Sphinx is found for the # given Python interpreter, otherwise "no". -# AM_CHECK_PYTHON_SPHINX(PYTHON) +# AE_CHECK_PYTHON_SPHINX(PYTHON) # --------------------------------------------------------------------------- -AC_DEFUN([AM_CHECK_PYTHON_SPHINX], +AC_DEFUN([AE_CHECK_PYTHON_SPHINX], [prog=" try: import sphinx -- 2.34.1