GNOME Bugzilla – Bug 641652
configure should honor aclocal flags ACLOCAL_FLAGS
Last modified: 2011-02-10 04:51:21 UTC
I'm building gcalctool via JHBuild. gcalctool 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/gcalctool/missing --run aclocal-1.11 cd . && /bin/sh /home/Oxyde/gnome/gcalctool/missing --run automake-1.11 --gnu gnome-doc-utils.make:63: HAVE_GNOME_DOC_UTILS does not appear in AM_CONDITIONAL help/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:143: ENABLE_SK does not appear in AM_CONDITIONAL help/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:192: ENABLE_SK does not appear in AM_CONDITIONAL help/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:74: if $(DOC_H_FILE: non-POSIX variable name gnome-doc-utils.make:74: (probably a GNU make extension) help/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:77: if $(DOC_H_FILE: non-POSIX variable name gnome-doc-utils.make:77: (probably a GNU make extension) help/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:118: if $(DOC_USER_FORMATS: non-POSIX variable name gnome-doc-utils.make:118: (probably a GNU make extension) help/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:123: if $(filter environment,$(origin LINGUAS: non-POSIX variable name gnome-doc-utils.make:123: (probably a GNU make extension) help/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:123: filter $(LINGUAS: non-POSIX variable name gnome-doc-utils.make:123: (probably a GNU make extension) help/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:134: if $(DOC_ID: non-POSIX variable name gnome-doc-utils.make:134: (probably a GNU make extension) help/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:141: shell $(PKG_CONFIG: non-POSIX variable name gnome-doc-utils.make:141: (probably a GNU make extension) help/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:154: shell xmllint --format $(2: non-POSIX variable name gnome-doc-utils.make:154: (probably a GNU make extension) help/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:154: notdir $(patsubst %/$(notdir $(2: non-POSIX variable name gnome-doc-utils.make:154: (probably a GNU make extension) help/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:154: if $(_ENABLE_SK: non-POSIX variable name gnome-doc-utils.make:154: (probably a GNU make extension) help/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:170: if $(DOC_MODULE: non-POSIX variable name gnome-doc-utils.make:170: (probably a GNU make extension) help/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:170: wildcard $(_DOC_ABS_SRCDIR: non-POSIX variable name gnome-doc-utils.make:170: (probably a GNU make extension) help/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:174: if $(_DOC_OMF_IN: non-POSIX variable name gnome-doc-utils.make:174: (probably a GNU make extension) help/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:174: foreach lc,C $(_DOC_REAL_LINGUAS: non-POSIX variable name gnome-doc-utils.make:174: (probably a GNU make extension) help/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:183: call db2omf_args,$@,$<,'docbook': non-POSIX variable name gnome-doc-utils.make:183: (probably a GNU make extension) help/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:187: if $(_DOC_OMF_IN: non-POSIX variable name gnome-doc-utils.make:187: (probably a GNU make extension) help/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:187: foreach lc,C $(_DOC_REAL_LINGUAS: non-POSIX variable name gnome-doc-utils.make:187: (probably a GNU make extension) help/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:198: call db2omf_args,$@,$<,'xhtml': non-POSIX variable name gnome-doc-utils.make:198: (probably a GNU make extension) help/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:203: if $(filter docbook,$(_DOC_REAL_FORMATS: non-POSIX variable name gnome-doc-utils.make:203: (probably a GNU make extension) help/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:203: if $(filter html HTML,$(_DOC_REAL_FORMATS: non-POSIX variable name gnome-doc-utils.make:203: (probably a GNU make extension) help/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:216: if $(DOC_MODULE: non-POSIX variable name gnome-doc-utils.make:216: (probably a GNU make extension) help/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:220: foreach page,$(DOC_PAGES: non-POSIX variable name gnome-doc-utils.make:220: (probably a GNU make extension) help/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:224: foreach ent,$(DOC_ENTITIES: non-POSIX variable name gnome-doc-utils.make:224: (probably a GNU make extension) help/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:228: foreach inc,$(DOC_INCLUDES: non-POSIX variable name gnome-doc-utils.make:228: (probably a GNU make extension) help/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:245: if $(DOC_FIGURES: non-POSIX variable name gnome-doc-utils.make:245: (probably a GNU make extension) help/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:245: foreach fig,$(DOC_FIGURES: non-POSIX variable name gnome-doc-utils.make:245: (probably a GNU make extension) help/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:245: patsubst $(srcdir: non-POSIX variable name gnome-doc-utils.make:245: (probably a GNU make extension) help/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:245: wildcard $(srcdir: non-POSIX variable name gnome-doc-utils.make:245: (probably a GNU make extension) help/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:252: foreach f, \ gnome-doc-utils.make:252: $(shell xsltproc --xinclude \ gnome-doc-utils.make:252: --stringparam db.chunk.basename "$(DOC_MODULE: non-POSIX variable name gnome-doc-utils.make:252: (probably a GNU make extension) help/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:263: if $(DOC_MODULE: non-POSIX variable name gnome-doc-utils.make:263: (probably a GNU make extension) help/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:263: foreach lc,$(_DOC_REAL_LINGUAS: non-POSIX variable name gnome-doc-utils.make:263: (probably a GNU make extension) help/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:271: patsubst %.po,%.mo,$(_DOC_POFILES: non-POSIX variable name gnome-doc-utils.make:271: (probably a GNU make extension) help/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:278: if $(DOC_MODULE: non-POSIX variable name gnome-doc-utils.make:278: (probably a GNU make extension) help/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:278: foreach lc,$(_DOC_REAL_LINGUAS: non-POSIX variable name gnome-doc-utils.make:278: (probably a GNU make extension) help/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:283: foreach lc,$(_DOC_REAL_LINGUAS: non-POSIX variable name gnome-doc-utils.make:283: (probably a GNU make extension) help/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:283: foreach page,$(_DOC_C_PAGES: non-POSIX variable name gnome-doc-utils.make:283: (probably a GNU make extension) help/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:283: notdir $(page: non-POSIX variable name gnome-doc-utils.make:283: (probably a GNU make extension) help/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:289: foreach lc,$(_DOC_REAL_LINGUAS: non-POSIX variable name gnome-doc-utils.make:289: (probably a GNU make extension) help/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:289: foreach inc,$(_DOC_C_INCLUDES: non-POSIX variable name gnome-doc-utils.make:289: (probably a GNU make extension) help/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:289: notdir $(inc: non-POSIX variable name gnome-doc-utils.make:289: (probably a GNU make extension) help/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:296: foreach lc,$(_DOC_REAL_LINGUAS: non-POSIX variable name gnome-doc-utils.make:296: (probably a GNU make extension) help/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:296: foreach doc,$(_DOC_C_HTML: non-POSIX variable name gnome-doc-utils.make:296: (probably a GNU make extension) help/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:296: notdir $(doc: non-POSIX variable name gnome-doc-utils.make:296: (probably a GNU make extension) help/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:302: if $(filter html HTML,$(_DOC_REAL_FORMATS: non-POSIX variable name gnome-doc-utils.make:302: (probably a GNU make extension) help/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:308: foreach lc,$(_DOC_REAL_LINGUAS: non-POSIX variable name gnome-doc-utils.make:308: (probably a GNU make extension) help/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:308: patsubst C/%,$(lc: non-POSIX variable name gnome-doc-utils.make:308: (probably a GNU make extension) help/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:311: foreach fig,$(_DOC_C_FIGURES: non-POSIX variable name gnome-doc-utils.make:311: (probably a GNU make extension) help/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:311: foreach lc,C $(_DOC_REAL_LINGUAS: non-POSIX variable name gnome-doc-utils.make:311: (probably a GNU make extension) help/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:311: wildcard $(srcdir: non-POSIX variable name gnome-doc-utils.make:311: (probably a GNU make extension) help/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:311: patsubst C/%,%,$(fig: non-POSIX variable name gnome-doc-utils.make:311: (probably a GNU make extension) help/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:316: dir $@: non-POSIX variable name gnome-doc-utils.make:316: (probably a GNU make extension) help/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:343: dir $@: non-POSIX variable name gnome-doc-utils.make:343: (probably a GNU make extension) help/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:353: dir $@: non-POSIX variable name gnome-doc-utils.make:353: (probably a GNU make extension) help/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:354: notdir $@: non-POSIX variable name gnome-doc-utils.make:354: (probably a GNU make extension) help/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:364: if $(DOC_MODULE: non-POSIX variable name gnome-doc-utils.make:364: (probably a GNU make extension) help/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:376: if $(filter html HTML,$(_DOC_REAL_FORMATS: non-POSIX variable name gnome-doc-utils.make:376: (probably a GNU make extension) help/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:379: foreach lc,C $(_DOC_REAL_LINGUAS: non-POSIX variable name gnome-doc-utils.make:379: (probably a GNU make extension) help/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:382: patsubst %.xhtml,%.xml,$@: non-POSIX variable name gnome-doc-utils.make:382: (probably a GNU make extension) help/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:427: if $(_DOC_OMF_IN: non-POSIX variable name gnome-doc-utils.make:427: (probably a GNU make extension) help/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:428: if $(_DOC_DSK_IN: non-POSIX variable name gnome-doc-utils.make:428: (probably a GNU make extension) help/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:429: if $(_DOC_REAL_LINGUAS: non-POSIX variable name gnome-doc-utils.make:429: (probably a GNU make extension) help/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:430: if $(DOC_MODULE: non-POSIX variable name gnome-doc-utils.make:430: (probably a GNU make extension) help/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:551: if $(DOC_ID: non-POSIX variable name gnome-doc-utils.make:551: (probably a GNU make extension) help/Makefile.am:1: `gnome-doc-utils.make' included from here gnome-doc-utils.make:578: patsubst C/%,%,$(_DOC_C_FIGURES: non-POSIX variable name gnome-doc-utils.make:578: (probably a GNU make extension) help/Makefile.am:1: `gnome-doc-utils.make' included from here make: *** [Makefile.in] Error 1
Created attachment 180212 [details] [review] Honor aclocal flags
I've applied this patch with a note so it can be removed when JHBuild/automake handles this properly in the future. Thanks Craig!