add missing AM_PROG_AR macro

Marcin Juszkiewicz marcin.juszkiewicz at linaro.org
Thu Oct 4 11:34:01 UTC 2012


Attached patch adds missing AM_PROG_AR macro - otherwise autoreconf fails:


automake (GNU automake) 1.12.3
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv2+: GNU GPL version 2 or later
<http://gnu.org/licenses/gpl-2.0.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Tom Tromey <tromey at redhat.com>
       and Alexandre Duret-Lutz <adl at gnu.org>.
AUTOV is 1.12
NOTE: Executing autoreconf --verbose --install --force
--exclude=autopoint -I
/home/hrw/HDD/devel/canonical/aarch64/build/tmp-eglibc/work/aarch64-oe-linux/libdivecomputer-0.0.0-r0/git/m4/
-I/home/hrw/HDD/devel/canonical/aar
ch64/build/tmp-eglibc/sysroots/x86_64-linux/usr/share/aclocal-1.12 -I
/home/hrw/HDD/devel/canonical/aarch64/build/tmp-eglibc/work/aarch64-oe-linux/libdivecomputer-0.0.0-r0/git/aclocal-copy/
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal -I
/home/hrw/HDD/devel/canonical/aarch64/build/tmp-eglibc/work/aarch64-oe-linux/libdivecomputer-0.0.0-r0/git/m4/
-I
/home/hrw/HDD/devel/canonical/aarch64/build/tmp-eglibc/sysroots/x86_64-linux/u
sr/share/aclocal-1.12 -I
/home/hrw/HDD/devel/canonical/aarch64/build/tmp-eglibc/work/aarch64-oe-linux/libdivecomputer-0.0.0-r0/git/aclocal-copy/
-I
/home/hrw/HDD/devel/canonical/aarch64/build/tmp-eglibc/work/aarch64-oe-linu
x/libdivecomputer-0.0.0-r0/git/m4/ -I
/home/hrw/HDD/devel/canonical/aarch64/build/tmp-eglibc/sysroots/x86_64-linux/usr/share/aclocal-1.12
-I
/home/hrw/HDD/devel/canonical/aarch64/build/tmp-eglibc/work/aarch64-oe-linux/libdi
vecomputer-0.0.0-r0/git/aclocal-copy/ --force -I m4
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
autoreconf: running:
/home/hrw/HDD/devel/canonical/aarch64/build/tmp-eglibc/sysroots/x86_64-linux/usr/bin/autoconf
--include=/home/hrw/HDD/devel/canonical/aarch64/build/tmp-eglibc/work/aarch64-oe-linux/libdivecomputer-0.0.0
-r0/git/m4/
--include=/home/hrw/HDD/devel/canonical/aarch64/build/tmp-eglibc/sysroots/x86_64-linux/usr/share/aclocal-1.12
--include=/home/hrw/HDD/devel/canonical/aarch64/build/tmp-eglibc/work/aarch64-oe-linux/libdivecompute
r-0.0.0-r0/git/aclocal-copy/ --force
autoreconf: running:
/home/hrw/HDD/devel/canonical/aarch64/build/tmp-eglibc/sysroots/x86_64-linux/usr/bin/autoheader
--include=/home/hrw/HDD/devel/canonical/aarch64/build/tmp-eglibc/work/aarch64-oe-linux/libdivecomputer-0.0
.0-r0/git/m4/
--include=/home/hrw/HDD/devel/canonical/aarch64/build/tmp-eglibc/sysroots/x86_64-linux/usr/share/aclocal-1.12
--include=/home/hrw/HDD/devel/canonical/aarch64/build/tmp-eglibc/work/aarch64-oe-linux/libdivecompu
ter-0.0.0-r0/git/aclocal-copy/ --force
autoreconf: running: automake --foreign --add-missing --copy --force-missing
automake: warnings are treated as errors
/home/hrw/HDD/devel/canonical/aarch64/build/tmp-eglibc/sysroots/x86_64-linux/usr/share/automake-1.12/am/ltlibrary.am:
warning: 'libdivecomputer.la': linking libtool libraries using a non-POSIX
/home/hrw/HDD/devel/canonical/aarch64/build/tmp-eglibc/sysroots/x86_64-linux/usr/share/automake-1.12/am/ltlibrary.am:
archiver requires 'AM_PROG_AR' in 'configure.ac'
src/Makefile.am:51:   while processing Libtool library 'libdivecomputer.la'
autoreconf: automake failed with exit status:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-ar.patch
Type: text/x-patch
Size: 353 bytes
Desc: not available
URL: <http://libdivecomputer.org/pipermail/devel/attachments/20121004/c42d3e57/attachment.bin>


More information about the Devel mailing list