From e015bae2ef343b30c890eebb9182a8be13d12ed0 Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Thu, 10 Sep 2020 15:04:43 -0400 Subject: [PATCH] Rename AM_PATH_PYTHON_MODULES to AE_PATH_PYTHON_MODULES 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: If5e94c7fa6df2d368c3cb9ae14c080caf2c27837 --- configure.ac | 2 +- m4/{bt_python_modules.m4 => ae_python_modules.m4} | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) rename m4/{bt_python_modules.m4 => ae_python_modules.m4} (83%) diff --git a/configure.ac b/configure.ac index 24a2d212..70cd018a 100644 --- a/configure.ac +++ b/configure.ac @@ -478,7 +478,7 @@ AE_IF_FEATURE_ENABLED([python-plugins], # Always check for python, we will fail later if some features require it and # it's unavailable. AM_PATH_PYTHON([3.0], [ - AM_PATH_PYTHON_MODULES([PYTHON]) + AE_PATH_PYTHON_MODULES([PYTHON]) # pythondir is the path where extra modules are to be installed pythondir=$PYTHON_PREFIX/$PYTHON_MODULES_PATH diff --git a/m4/bt_python_modules.m4 b/m4/ae_python_modules.m4 similarity index 83% rename from m4/bt_python_modules.m4 rename to m4/ae_python_modules.m4 index e6955fc7..f2942ffb 100644 --- a/m4/bt_python_modules.m4 +++ b/m4/ae_python_modules.m4 @@ -2,7 +2,7 @@ # # Copyright (C) 2014 Jérémie Galarneau # -# bt_python_modules.m4 -- Get the Python modules install path +# ae_python_modules.m4 -- Get the Python modules install path # While extra Python modules are generaly installed in the Python # interpreter's "site-packages" directory, Debian prefers using the @@ -10,9 +10,11 @@ # designated by the PYTHON variable to check the interpreter's PATH # and sets the PYTHON_MODULES_PATH by taking the prefix into account. -# AM_PATH_PYTHON_MODULES(PYTHON) +#serial 1 + +# AE_PATH_PYTHON_MODULES(PYTHON) # --------------------------------------------------------------------------- -AC_DEFUN([AM_PATH_PYTHON_MODULES], +AC_DEFUN([AE_PATH_PYTHON_MODULES], [prog="import sys for path in sys.path: if path.endswith(\"-packages\"): -- 2.34.1