0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-07-02 22:07:36 +00:00
Files
termux-packages/x11-packages/mate-terminal/m4-macros.patch
Henrik Grimler 1a96ec0d88 fix(x11/mate-terminal): fix build with automake 1.16.4
We need to re-generate the configure script, or else we get an error:

  configure.ac:15: error: version mismatch.  This is Automake 1.16.4,
  configure.ac:15: but the definition used by this AM_INIT_AUTOMAKE
  configure.ac:15: comes from Automake 1.16.1.  You should recreate
  configure.ac:15: aclocal.m4 with aclocal and run automake again.

However, running autoreconf -vfi reveals that some of the autoconf
macros are *only* defined in aclocal.m4, and autoreconfiguring
replaces that file and causes the macros to be undefined, giving
errors like:

  /home/builder/.termux-build/mate-terminal/src/configure: line 2931: MATE_COMMON_INIT: command not found
  /home/builder/.termux-build/mate-terminal/src/configure: line 2932: syntax error near unexpected token `no'
  /home/builder/.termux-build/mate-terminal/src/configure: line 2932: `MATE_DEBUG_CHECK(no)'

Lets move all the custom macros from aclocal.m4 to the m4/ directory
to solve that issue.

Fixes termux/termux-packages#11145.
2022-07-04 09:02:16 +02:00

24 KiB