GNOME Bugzilla – Bug 763119
[patch] Cannot run aclocal && autoconf
Last modified: 2016-04-02 10:35:04 UTC
Created attachment 323126 [details] [review] Patch that adds missing m4 file Currently if I run aclocal && autoconf I get the following output: $ aclocal && autoconf configure.ac:548: warning: AM_NLS is m4_require'd but not m4_defun'd /usr/pkg/share/aclocal/intltool.m4:27: IT_PROG_INTLTOOL is expanded from... configure.ac:548: the top level configure.ac:548: warning: AM_NLS is m4_require'd but not m4_defun'd /usr/pkg/share/aclocal/intltool.m4:27: IT_PROG_INTLTOOL is expanded from... configure.ac:548: the top level configure.ac:548: warning: AM_NLS is m4_require'd but not m4_defun'd aclocal.m4:199: IT_PROG_INTLTOOL is expanded from... configure.ac:548: the top level configure:22242: error: possibly undefined macro: AM_NLS If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. This is because m4/nls.m4 is missing. Included is a patch that adds it.
Hi, thanks for the patch. However I think a better fix than including files from other projects in the repo is having Tracker call autopoint/autoreconf in the autogen script, so the file is copied from the local m4 collection to the project m4 folder at autogen time. I pushed commit f2b31e6b4b to move away from gnome-autogen.sh, which also fixes this.