AC_CONFIG_MACRO_DIR dup breaks bootstrap
hi
getting this with current master (d6af2800):
configure.ac:103: error: AC_CONFIG_MACRO_DIR can only be used once
./lib/autoconf/general.m4:1969: AC_CONFIG_MACRO_DIR is expanded from...
configure.ac:103: the top level
autom4te: error: /usr/bin/m4 failed with exit status: 1
aclocal: error: /opt/stow.d/versions/autoconf-2.70/usr/bin/autom4te failed with exit status: 1
autoreconf: error: aclocal failed with exit status: 1
./bootstrap: autoreconf failed
this fixes things for me:
diff -c ./configure.ac.FIX_AC_CONFIG_MACRO_DIR ./configure.ac
*** ./configure.ac.FIX_AC_CONFIG_MACRO_DIR Mon Dec 21 16:09:24 2020
--- ./configure.ac Mon Dec 21 16:09:24 2020
***************
*** 100,106 ****
AC_CONFIG_SRCDIR([src/wget.c])
AC_CONFIG_HEADERS([config.h])
! AC_CONFIG_MACRO_DIR([m4])
# Non-verbose make
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
--- 100,106 ----
AC_CONFIG_SRCDIR([src/wget.c])
AC_CONFIG_HEADERS([config.h])
! dnl AC_CONFIG_MACRO_DIR([m4])
# Non-verbose make
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
thanks
ciao
-g