Skip to contentSkip to conversation

build: drop python3-config check from configure.ac

PATCH Applied Markus Heidelberg 2 participants 2 messages May 30, 2025 – Jun 3, 2025 GPIO

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 build: drop python3-config check from configure.ac

Since commit b7ba732e ("treewide: libgpiod v2 implementation") autotools are no longer used to build the Python bindings and thus python3-config is unused.

Fixes 8aab09cb ("build: drop unused python-related bits from configure.ac")
---
 configure.ac | 6 ------
 1 file changed, 6 deletions(-)
configure.ac +0 -6
index 416ae28..9b6c862 100644
@@ -230,12 +230,6 @@ if test "x$with_bindings_python" = xtrue
 then
 	AM_PATH_PYTHON([3.9], [],
 		[AC_MSG_ERROR([python3 not found - needed for python bindings])])
-	AC_CHECK_PROG([has_python_config], [python3-config], [true], [false])
-
-	if test "x$has_python_config" = xfalse
-	then
-		AC_MSG_ERROR([python3-config not found - needed for python bindings])
-	fi
 fi
 
 AC_ARG_ENABLE([bindings-rust],
Signature · 1 line
2.43.0
#1 lore raw

From: Bartosz Golaszewski <[email protected]>

Quoted 5 lines · Markus Heidelberg

Since commit b7ba732e ("treewide: libgpiod v2 implementation") autotools are no longer used to build the Python bindings and thus python3-config is unused.

Applied, thanks!

[1/1] build: drop python3-config check from configure.ac

      commit: 088c66ef20662b76eebf03e71f11196a5ae14b33

Best regards,

Signature · 1 line
Bartosz Golaszewski <[email protected]>