GNOME Bugzilla – Bug 640882
configure should honor aclocal flags ACLOCAL_FLAGS
Last modified: 2011-02-19 03:59:38 UTC
I'm building gnome-settings-daemon via JHBuild. gnome-settings-daemon builds successfully. If upstream then updates configure.ac, the build fails: make V=1 CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /home/Oxyde/gnome/gnome-settings-daemon/missing --run aclocal-1.11 configure.ac:37: error: possibly undefined macro: AM_GLIB_GNU_GETTEXT This is because JHBuild sets ACLOCAL_FLAGS to include the sandbox (e.g. -I /opt/gnome/share/aclocal). One may argue it is silly for JHBuild to require every module to support ACLOCAL_FLAGS, but there isn't a way around it until automake-1.12 is out - which includes support for ACLOCAL_PATH. Further details in the JHBuild bug 634617.
Created attachment 179575 [details] [review] Honor aclocal flags
Created attachment 179869 [details] [review] Honor aclocal flags My last patch was incorrect. Thanks to Christian Persch, as I learnt in bug 640883, this is the correct way to honor aclocal flags.