Hi,
I'm trying to build mailutils under Alpine Linux:
$ docker run --rm -it alpine:3.20
/ # apk add git libtool autoconf automake wget rsync gettext-dev
coreutils build-base perl perl-pod-parser bison flex gawk
/ # git clone git://git.savannah.gnu.org/mailutils.git
/ # cd mailutils
/mailutils # ./bootstrap
...
configure.ac:99: error: possibly undefined macro: AC_DEFINE
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autoreconf: error: /usr/bin/autoconf failed with exit status: 1
./bootstrap: autoreconf failed
As far as I can see AC_DEFINE is available:
/mailutils # rg m4_define\\\(\\[AC_DEFINE\\]
/usr/share/autoconf/autoconf/general.m4
2317:m4_define([AC_DEFINE], [_AC_DEFINE_Q([_$0], $@)])
What am I missing?
Regards,
Yuri