https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100932
Bug ID: 100932 Summary: autoconf error: possibly undefined macro: GCC_AC_ENABLE_DECIMAL_FLOAT Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other Assignee: unassigned at gcc dot gnu.org Reporter: nicolas at debian dot org Target Milestone: --- Hello. When I attempt to autoreconf(2.69) the gcc/ subdirectory of 10.2.1 or 11.1.0, I get: configure.ac:886: error: possibly undefined macro: GCC_AC_ENABLE_DECIMAL_FLOAT configure.ac:1499: error: possibly undefined macro: GCC_AC_FUNC_MMAP_BLACKLIST There is a slight possibility that the error is caused by local patches (Debian experimental), but this trivial change fixes the issue: --- a/src/gcc/configure.ac +++ b/src/gcc/configure.ac @@ -25,6 +25,7 @@ AC_INIT AC_CONFIG_SRCDIR(tree.c) +AC_CONFIG_MACRO_DIRS(../config) AC_CONFIG_HEADER(auto-host.h:config.in) gcc_version=`cat $srcdir/BASE-VER` The documentation seems to recommend AC_CONFIG_MACRO_DIRS anyway.