GNOME Bugzilla – Bug 641629
configure should honor aclocal flags ACLOCAL_FLAGS
Last modified: 2011-02-07 22:02:50 UTC
I'm building nautilus via JHBuild. nautilus builds successfully. If upstream then updates configure.ac, 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/nautilus/missing --run aclocal-1.11 -I m4 configure.in:58: warning: macro `AM_GLIB_GNU_GETTEXT' not found in library configure.in:20: warning: AC_INIT: not a literal: http://bugzilla.gnome.org/enter_bug.cgi?product=nautilus cd . && /bin/sh /home/Oxyde/gnome/nautilus/missing --run automake-1.11 --gnu configure.in:20: warning: AC_INIT: not a literal: http://bugzilla.gnome.org/enter_bug.cgi?product=nautilus eel/Makefile.am:87: `%'-style pattern rules are a GNU make extension eel/Makefile.am:91: `%'-style pattern rules are a GNU make extension eel/Makefile.am:92: subst -,_,$*: non-POSIX variable name eel/Makefile.am:92: (probably a GNU make extension) libnautilus-extension/Makefile.am:67: HAVE_INTROSPECTION does not appear in AM_CONDITIONAL libnautilus-extension/Makefile.am:78: addprefix $(srcdir: non-POSIX variable name libnautilus-extension/Makefile.am:78: (probably a GNU make extension) libnautilus-private/Makefile.am:199: `%'-style pattern rules are a GNU make extension libnautilus-private/Makefile.am:200: subst -,_,$*: non-POSIX variable name libnautilus-private/Makefile.am:200: (probably a GNU make extension) libnautilus-private/Makefile.am:202: `%'-style pattern rules are a GNU make extension src/Makefile.am:187: `%'-style pattern rules are a GNU make extension src/Makefile.am:191: `%'-style pattern rules are a GNU make extension src/Makefile.am:192: subst -,_,$*: non-POSIX variable name src/Makefile.am:192: (probably a GNU make extension) make: *** [Makefile.in] Error 1
Created attachment 180195 [details] [review] Honor aclocal flags
Created attachment 180196 [details] [review] Remove configure.in ACLOCAL_FLAGS, now in Makefile.am This optional patch removes the ACLOCAL_FLAGS support in configure.in. ACLOCAL_FLAGS support is in Makefile.am as per attachment 180195 [details] [review]. See bug 640883 comment 4 by Christian Persch for more information.
Please push to master.
Comment on attachment 180196 [details] [review] Remove configure.in ACLOCAL_FLAGS, now in Makefile.am Committed. http://git.gnome.org/browse/nautilus/commit/?id=43573325a03536a93869f0a080dc0b2257e7e258
Comment on attachment 180195 [details] [review] Honor aclocal flags Committed. http://git.gnome.org/browse/nautilus/commit/?id=98feec44b9d93fc029e95b682ec29eb104c60320