Merge pull request #22645 from yggdrasil-openwrt/yggdrasil-2023-11-11
[feed/packages.git] / net / gensio / patches / 0001-Ensure-that-ax_python_devel_found-is-defined.patch
1 From 6bbc3056c4b9192010d888672d97810609ee23f9 Mon Sep 17 00:00:00 2001
2 From: Michael Heimpold <mhei@heimpold.de>
3 Date: Sat, 18 Nov 2023 21:46:15 +0100
4 Subject: [PATCH] Ensure that $ax_python_devel_found is defined
5
6 Otherwise in case of --without-python, it triggers an error like:
7 -snip-
8 ...
9 checking consistency of all components of python development environment... yes
10 ./configure: line 23729: test: =: unary operator expected
11 ...
12 -snap-
13
14 Signed-off-by: Michael Heimpold <mhei@heimpold.de>
15 ---
16 configure.ac | 3 +++
17 1 file changed, 3 insertions(+)
18
19 --- a/configure.ac
20 +++ b/configure.ac
21 @@ -1997,6 +1997,9 @@ if test "x$trypython" = "xyes"; then
22 PYTHON_CPPFLAGS="$pythoncflags"
23 fi
24 AX_PYTHON_DEVEL([], [true])
25 + ax_python_devel_found=yes
26 +else
27 + ax_python_devel_found=no
28 fi
29 if test $ax_python_devel_found = yes; then
30 AX_PROG_PYTHON_VERSION([3.0.0],