Bug 14175 - autgen.sh fails with aclocal version 1.10
Summary: autgen.sh fails with aclocal version 1.10
Status: RESOLVED FIXED
Alias: None
Product: ConsoleKit
Classification: Unclassified
Component: Daemon (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: william.jon.mccann
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-21 07:22 UTC by Marc-Andre Lureau
Modified: 2008-01-28 19:25 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
0001-Fix-the-build-with-automake-aclocal-1.10.patch (6.82 KB, patch)
2008-01-21 07:33 UTC, Marc-Andre Lureau
Details | Splinter Review

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.