0010-configure.ac-move-PY_STDLIB_MOD_SET_NA-further-up.patch 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. From fddea49ba296fa5d265ec50f407632d94cca6dcf Mon Sep 17 00:00:00 2001
  2. From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
  3. Date: Tue, 6 Feb 2024 22:46:59 +0100
  4. Subject: [PATCH] configure.ac: move PY_STDLIB_MOD_SET_NA further up
  5. We will need PY_STDLIB_MOD_SET_NA in next patches further up in the
  6. configure.ac script.
  7. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
  8. ---
  9. configure.ac | 10 +++++-----
  10. 1 file changed, 5 insertions(+), 5 deletions(-)
  11. diff --git a/configure.ac b/configure.ac
  12. index 306127274e0..1bb63cbd5b2 100644
  13. --- a/configure.ac
  14. +++ b/configure.ac
  15. @@ -95,6 +95,11 @@ AC_DEFUN([PY_CHECK_EMSCRIPTEN_PORT], [
  16. AS_VAR_POPDEF([py_libs])
  17. ])
  18. +AC_DEFUN([PY_STDLIB_MOD_SET_NA], [
  19. + m4_foreach([mod], [$@], [
  20. + AS_VAR_SET([py_cv_module_]mod, [n/a])])
  21. +])
  22. +
  23. AC_SUBST([BASECPPFLAGS])
  24. if test "$srcdir" != . -a "$srcdir" != "$(pwd)"; then
  25. # If we're building out-of-tree, we need to make sure the following
  26. @@ -7232,11 +7237,6 @@ AC_ARG_ENABLE([test-modules],
  27. AC_MSG_RESULT([$TEST_MODULES])
  28. AC_SUBST([TEST_MODULES])
  29. -AC_DEFUN([PY_STDLIB_MOD_SET_NA], [
  30. - m4_foreach([mod], [$@], [
  31. - AS_VAR_SET([py_cv_module_]mod, [n/a])])
  32. -])
  33. -
  34. # stdlib not available
  35. dnl Modules that are not available on some platforms
  36. dnl AIX has shadow passwords, but access is not via getspent()
  37. --
  38. 2.43.0