dskvr / opkg

Automatically exported from code.google.com/p/opkg
0 stars 0 forks source link

AM_CONFIG_HEADER should replace with AC_CONFIG_HEADERS #98

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. archlinux
2. build failed.

configure.ac:10: error: 'AM_CONFIG_HEADER': this macro is obsolete.
    You should use the 'AC_CONFIG_HEADERS' macro instead.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
649

Please provide any additional information below.
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal -I shave
configure.ac:10: 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:10: 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

Original issue reported on code.google.com by dlin...@gmail.com on 7 Jan 2013 at 11:51

GoogleCodeExporter commented 8 years ago
I found a solution here.
http://trac.macports.org/ticket/37549
http://trac.macports.org/attachment/ticket/37549/patch-configure.ac.diff

Just replace the AM_CONFIG_HEADER with AC_CONFIG_HEADERS in configure.ac

Original comment by dlin...@gmail.com on 8 Jan 2013 at 1:45

GoogleCodeExporter commented 8 years ago
The patch you've linked to changes two things. Do you know why the second hunk 
is needed? The patch we're using in OpenEmbedded is 
http://git.openembedded.org/openembedded-core/tree/meta/recipes-devtools/opkg/op
kg/obsolete_automake_macros.patch

Original comment by paul.betafive on 24 Jul 2013 at 7:42

GoogleCodeExporter commented 8 years ago
Well, I don't know.

Original comment by dlin...@gmail.com on 24 Jul 2013 at 7:45

GoogleCodeExporter commented 8 years ago
I'll apply the patch from OpenEmbedded when I get chance.

Original comment by paul.betafive on 1 Aug 2013 at 10:01

GoogleCodeExporter commented 8 years ago
Patch applied, this should be fixed.

Original comment by paul.betafive on 3 Aug 2013 at 9:52