AC_REQUIRE_AUX_FILE regression in 2.69d

2020-11-03 Thread Jani Välimaa
Hello, AC_REQUIRE_AUX_FILE(file) fails since http://git.savannah.gnu.org/cgit/autoconf.git/commit/?id=4c59bf27d7083088290219450c81d999431b43f1 configure.ac:18: error: AC_REQUIRE(_AC_INIT_AUX_DIR): cannot be used outside of an AC_DEFUN'd macro Shouldn't AC_REQUIRE_AUX_FILE macro be defined with A

AC_CHECK_LIB failures with AC_LANG(C++)

2020-10-31 Thread Jani Välimaa
Hello, Looks like AC_CHECK_LIB(foo, main, [foo="yes"]) calls fails after https://git.savannah.gnu.org/cgit/autoconf.git/commit/?id=326c9a547423d25c621bc5c0ef76edbf6eda8c92 if AC_LANG(C++) is also used. Running configure fails to find libraries and config.log shows the following. conftest.cpp:38:

Re: AC_INIT regression in 2.69c

2020-10-31 Thread Jani Välimaa
On Fri, 30 Oct 2020 17:21:19 -0400 Zack Weinberg wrote: > On Fri, Oct 30, 2020 at 4:40 PM Jani Välimaa wrote: > > autoreconf seems to be failing with autoconf-2.69c with the following > > AC_INIT in configure.ac. > > > > AC_INIT([test], > > [m4_esyscmd([b

AC_INIT regression in 2.69c

2020-10-30 Thread Jani Välimaa
Hello, autoreconf seems to be failing with autoconf-2.69c with the following AC_INIT in configure.ac. AC_INIT([test], [m4_esyscmd([build-aux/git-version-gen .tarball-version])], [bug-autoconf@gnu.org]) Same happens also with other m4_* macros wrapped with []. Easiest test case c