Bug 33922

Summary: configure should honor aclocal flags ACLOCAL_FLAGS
Product: accountsservice Reporter: Craig Keogh <cskeogh>
Component: generalAssignee: Matthias Clasen <mclasen>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: medium    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: Honor aclocal flags

Description Craig Keogh 2011-02-04 15:38:26 UTC
I'm building accountsservice via JHBuild. accountsservice 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 https://bugzilla.gnome.org/show_bug.cgi?id=634617.

The build failure is:
make  V=1
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /home/Oxyde/gnome/accountsservice/missing --run aclocal-1.11 
configure.ac:16: warning: macro `AM_GLIB_GNU_GETTEXT' not found in library
 cd . && /bin/sh /home/Oxyde/gnome/accountsservice/missing --run automake-1.11 --foreign
src/libaccountsservice/Makefile.am:71: HAVE_INTROSPECTION does not appear in AM_CONDITIONAL
make: *** [Makefile.in] Error 1
Comment 1 Craig Keogh 2011-02-04 15:39:40 UTC
Created attachment 42954 [details] [review]
Honor aclocal flags
Comment 2 Ray Strode [halfline] 2011-07-19 08:03:17 UTC
okay pushed for now.  we can drop it later.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.