[libgpiod][PATCH 1/2] build: drop unused python-related bits from configure.ac

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>

We no longer use autotools to build python bindings. We should still
check the interpreter but let's not set any automake variables.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>
---
 configure.ac | 15 ---------------
 1 file changed, 15 deletions(-)

diff --git a/configure.ac b/configure.ac
index 599c598..d305506 100644
--- a/configure.ac
+++ b/configure.ac
@@ -40,11 +40,6 @@ m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
 m4_pattern_forbid([^AX_],
 	[Unexpanded AX_ macro found. Please install GNU autoconf-archive.])
 
-AC_ARG_VAR([PYTHON_CPPFLAGS],
-	[Compiler flags to find Python headers [default: auto-detect]])
-AC_ARG_VAR([PYTHON_LIBS],
-	[Libraries to link into Python extensions [default: auto-detect]])
-
 AC_CONFIG_SRCDIR([lib])
 AC_CONFIG_HEADERS([config.h])
 
@@ -229,16 +224,6 @@ then
 	then
 		AC_MSG_ERROR([python3-config not found - needed for python bindings])
 	fi
-
-	if test -z "$PYTHON_CPPFLAGS"
-	then
-		AC_SUBST(PYTHON_CPPFLAGS, [`$PYTHON-config --includes`])
-	fi
-
-	if test -z "$PYTHON_LIBS"
-	then
-		AC_SUBST(PYTHON_LIBS, [`$PYTHON-config --libs`])
-	fi
 fi
 
 AC_ARG_ENABLE([bindings-rust],
-- 
2.37.2




[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux