Hi, On Wednesday, January 29th, 2025 at 2:40 PM, Mark Wielaard <m...@klomp.org> wrote: > I definitely like this patch. But when doing an autoreconf -f -v -i > (autoconf 2.27) I get: > > autoheader: warning: missing template: HAVE_ERROR_H > autoheader: warning: Use AC_DEFINE([HAVE_ERROR_H], [], [Description]) > autoreconf: error: /usr/bin/autoheader failed with exit status: 1 > > So I had to redefine it as: > > AC_CHECK_HEADER([error.h], [AC_CHECK_FUNC([error], AC_DEFINE([HAVE_ERROR_H], > [1], [Define if error.h is usable]))]) > > Which results in: > > checking for error.h... yes > checking for error... yes > checking for err.h... yes > > And the following definition in config.h > > /* Define if error.h is usable */ > #define HAVE_ERROR_H 1 > > If this also works for you I'll check it in as attached.
This works for me and I'd be fine with this in state. Thank you for fixing it up.