Bug 14175

Summary: autgen.sh fails with aclocal version 1.10
Product: ConsoleKit Reporter: Marc-Andre Lureau <marcandre.lureau>
Component: DaemonAssignee: william.jon.mccann
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: 0001-Fix-the-build-with-automake-aclocal-1.10.patch

Description Marc-Andre Lureau 2008-01-21 07:22:03 UTC
I get this error:

./autogen.sh: ERROR: `aclocal -I /opt/gnome2/share/aclocal/' is too old.
aclocal (GNU automake) 1.10
Written by Tom Tromey <tromey@redhat.com>
       and Alexandre Duret-Lutz <adl@gnu.org>.

Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
           (version 1.7 or newer is required)

Because the awk comparison fail:

if (echo "1.10" | awk 'NR==1 { if( $(NF) >= '1.7') \
						exit 1; exit 0; }' );
then
    echo bad
fi
Comment 1 Marc-Andre Lureau 2008-01-21 07:23:33 UTC
Is there a reason to not rely on autoreconf (as HAL does)?
Comment 2 Marc-Andre Lureau 2008-01-21 07:33:46 UTC
Created attachment 13833 [details] [review]
0001-Fix-the-build-with-automake-aclocal-1.10.patch
Comment 3 william.jon.mccann 2008-01-28 19:25:38 UTC
Applied.  Thanks!

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.