On Fri, Jul 18, 2025 at 06:46:35PM +0200, Andreas Schwab wrote: > > -- Macro: AC_ARG_WITH (PACKAGE, HELP-STRING, [ACTION-IF-GIVEN], > > [ACTION-IF-NOT-GIVEN]) > > > > The option now looks like it was given, so the third argument to > > AC_ARG_WITH, [ with_swig='yes' ], runs, leading to AX_PKG_SWIG running > > and failing. > > > > The third argument should be blank, as in the examples in the autoconf > > manual. > > And the assignment with_swig=check should be moved to the fourth > argument. Otherwise any use of --with-swig or --without-swig is > effectively ignored.
Thanks that's what I did.
