On Mon, May 19, 2025 at 03:56:34PM +0100, Richard W.M. Jones wrote: > On Mon, May 19, 2025 at 03:22:48PM +0100, Richard W.M. Jones wrote: > > m4/guestfs-libraries.m4:158: warning: macro 'AM_GNU_GETTEXT' not found in > > library > > autoreconf: running: /usr/bin/autoconf --force > > configure:19161: error: possibly undefined macro: AM_GNU_GETTEXT > > 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 > > > > (https://github.com/libguestfs/libguestfs/blob/master/configure.ac) > > It turns out that gettext.m4 has to be copied into the m4/ > subdirectory, along with a lot of other junk, for reasons. > > I really must get around to replacing gettext with something sane.
FWIW, the gettext.m4 file doesn't do anything particularly difficult. A long time back when libvirt still uses autoconf, we just dropped use of gettext.m4 and wrote a po/Makefile.am with the rules for xgettext, msgmerge & msgfmt as required, and a simple configure.ac check. Makes the project self contained, avoiding the autopoint dance With regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :| -- _______________________________________________ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue