Bug 60368 - xf86-video-openchrome doesn't build with automake 1.13.1
Summary: xf86-video-openchrome doesn't build with automake 1.13.1
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/openchrome (show other bugs)
Version: git
Hardware: Other Linux (All)
: medium normal
Assignee: Openchrome development list
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-06 14:48 UTC by Pascal Ernster
Modified: 2013-03-04 19:10 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Pascal Ernster 2013-02-06 14:48:37 UTC
[hardfalcon@hardfalcon-3 test]$ git clone git://anongit.freedesktop.org/openchrome/xf86-video-openchrome master
Cloning into 'master'...
remote: Counting objects: 6778, done.
remote: Compressing objects: 100% (2083/2083), done.
remote: Total 6778 (delta 5267), reused 6079 (delta 4686)
Receiving objects: 100% (6778/6778), 2.02 MiB | 723 KiB/s, done.
Resolving deltas: 100% (5267/5267), done.
[hardfalcon@hardfalcon-3 test]$ cd master
[hardfalcon@hardfalcon-3 master]$ ./autogen.sh --prefix=/usr
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal 
configure.ac:41: error: 'AM_CONFIG_HEADER': this macro is obsolete.
    You should use the 'AC_CONFIG_HEADERS' macro instead.
/usr/share/aclocal-1.13/obsolete-err.m4:12: AM_CONFIG_HEADER is expanded from...
configure.ac:41: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
aclocal: error: echo failed with exit status: 1
autoreconf: aclocal failed with exit status: 1
[hardfalcon@hardfalcon-3 master]$
Comment 1 Pascal Ernster 2013-02-06 15:00:19 UTC
This patch fixes the issue:

diff -rup a/configure.ac b/configure.ac
--- a/configure.ac	2013-02-06 15:58:55.438025812 +0100
+++ b/configure.ac	2013-02-06 15:58:38.507264220 +0100
@@ -38,7 +38,7 @@ AC_DEFINE_UNQUOTED([VIA_PATCHLEVEL],
                    [Patch version])
 
 AC_CONFIG_SRCDIR([Makefile.am])
-AM_CONFIG_HEADER([config.h])
+AC_CONFIG_HEADERS([config.h])
 AC_CONFIG_AUX_DIR(.)
 
 AM_INIT_AUTOMAKE([foreign dist-bzip2])
Comment 2 Xavier Bachelot 2013-03-04 19:10:05 UTC
Pushed to git master, thanks for the patch.

http://cgit.freedesktop.org/openchrome/xf86-video-openchrome/commit/?id=a925749eb21ba9e2e58845bc91554a09f20322ca


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.