GNOME Bugzilla – Bug 641563
configure should honor aclocal flags ACLOCAL_FLAGS
Last modified: 2011-02-04 22:58:25 UTC
I'm building gnome-desktop via JHBuild. gnome-desktop builds successfully. If upstream then updates configure.in, then I run 'make', which attempts a reconfigure, but fails. 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. The build failure is: make V=1 CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /home/Oxyde/gnome/gnome-desktop-3/missing --run aclocal-1.11 -I m4 configure.ac:197: warning: macro `AM_GLIB_GNU_GETTEXT' not found in library configure.ac:11: warning: AC_INIT: not a literal: http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-desktop cd . && /bin/sh /home/Oxyde/gnome/gnome-desktop-3/missing --run automake-1.11 --foreign configure.ac:11: warning: AC_INIT: not a literal: http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-desktop libgnome-desktop/Makefile.am:73: HAVE_INTROSPECTION does not appear in AM_CONDITIONAL make: *** [Makefile.in] Error 1
Created attachment 180130 [details] [review] Honor aclocal flags
Created attachment 180131 [details] [review] Remove configure.ac ACLOCAL_FLAGS, now in Makefile.am This optional patch removes the ACLOCAL_FLAGS support in configure.ac. ACLOCAL_FLAGS support is in Makefile.am as per attachment 180130 [details] [review]. See bug 640883 comment 4 by Christian Persch for more information.
I fixed it in git earlier today: http://git.gnome.org/browse/gnome-desktop/commit/?id=617b4a85af70e238a16388aac8766a87d78839c6