mlterm icon indicating copy to clipboard operation
mlterm copied to clipboard

support/document how to run autoreconf -f -i

Open ametzler opened this issue 1 year ago • 1 comments

Hello, updating autotools for mlterm does not work out of the box, the minimal working way I found was

 env AUTOMAKE=true AUTOHEADER=true \
  autom4te_buildauxdir=/usr/share/libtool/build-aux/ \
  autoreconf  -f -i . baselib encodefilter

Specifically autoheader needs to be disabled to avoid

autoheader: warning: missing template: CALLOC_CHECK_OVERFLOW autoheader: warning: Use AC_DEFINE([CALLOC_CHECK_OVERFLOW], [], [Description]) autoheader: warning: missing template: HAVE_GNU_SOURCE autoheader: warning: missing template: HAVE_SYS_BITYPES_H autoreconf: error: /usr/bin/autoheader failed with exit status: 1

and automake to avoid

automake: error: no 'Makefile.am' found for any configure output autoreconf: error: automake failed with exit status: 1

and setting autom4te_buildauxdir is the needed because automake cannot run which causes

configure.in: error: required file 'compile' not found configure.in: error: required file 'missing' not found

It would be nice if there either was a simpler way or if it was documented.

TIA, cu Andreas

ametzler avatar Apr 07 '24 06:04 ametzler

I don't think automake and autoheader are used, that's why they fail. At the very least for automake the lack of Makefile.am should make that obvious.

hramrach avatar May 16 '24 18:05 hramrach