From: Bartosz Golaszewski Date: Mon, 16 Jan 2023 15:08:21 +0000 (+0100) Subject: build: drop unused python-related bits from configure.ac X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=8aab09cb23b19799c058f3375afde5f07de03eef;p=qemu-gpiodev%2Flibgpiod.git build: drop unused python-related bits from configure.ac 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 --- diff --git a/configure.ac b/configure.ac index 0effa7c..58ad253 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]) @@ -228,16 +223,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],