FTBFS undefined macro when prepare()
# sbcl riscv64 callback unspported
# Description:
There is a failure when run mate-calc with `extra-x86_64-build `
```
configure.ac:53: warning: macro 'AM_GNU_GETTEXT_VERSION' not found in library
configure.ac:54: warning: macro 'AM_GNU_GETTEXT_REQUIRE_VERSION' not found in library
configure.ac:55: warning: macro 'AM_GNU_GETTEXT' not found in library
autoreconf: configure.ac: tracing
configure.ac: warning: AM_GNU_GETTEXT_VERSION or AM_GNU_GETTEXT_REQUIRE_VERSION is used, but not AM_GNU_GETTEXT
autoreconf: configure.ac: not using Libtool
autoreconf: configure.ac: not using Intltool
autoreconf: configure.ac: not using Gtkdoc
autoreconf: running: /usr/bin/autoconf --force
configure.ac:12: warning: The macro 'AC_ISC_POSIX' is obsolete.
configure.ac:12: You should run autoupdate.
./lib/autoconf/specific.m4:732: AC_ISC_POSIX is expanded from...
configure.ac:12: the top level
configure.ac:14: warning: The macro 'AC_HEADER_STDC' is obsolete.
configure.ac:14: You should run autoupdate.
./lib/autoconf/headers.m4:663: AC_HEADER_STDC is expanded from...
configure.ac:14: the top level
configure.ac:53: error: possibly undefined macro: AM_GNU_GETTEXT_VERSION
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.ac:54: error: possibly undefined macro: AM_GNU_GETTEXT_REQUIRE_VERSION
configure.ac:55: error: possibly undefined macro: AM_GNU_GETTEXT
autoreconf: error: /usr/bin/autoconf failed with exit status: 1
==> ERROR: A failure occurred in prepare().
Aborting...
```
I think the problem of "undefined macro" is probably because gettext is not installed on the system in makedepends, or aclocal cannot find its macro directory.
# environment
* Version: mate-calc-1.28.0-3-x86_64
* Platform: X86_64 Arch virtual machine under windows
* log files:
[mate-calc-1.28.0-3-x86_64-prepare.log](/uploads/6250fc2147280eaef712cfd1bf48c98f/mate-calc-1.28.0-3-x86_64-prepare.log)
# reproduce
The process is as follows:
1. `cd mate-calc`
2. `extra-x86_64-build `
# patch
firstly I add 'gettext' to makedepends ,but find it no help.
secondly I add
```
export ACLOCAL_FLAGS="
-I /usr/share/aclocal
-I /usr/share/gettext/m4
"
```
to prepare(),and find it works well.
here is my patch.
[macro.patch](/uploads/831208e0a06647ba6973cbb0332895af/macro.patch)
issue