Patchwork [1/2] build: resolve automake-1.12 warnings

login
register
mail settings
Submitter Jan Engelhardt
Date Nov. 26, 2012, 11:54 p.m.
Message ID <1353974099-19891-2-git-send-email-jengelh@inai.de>
Download mbox | patch
Permalink /patch/202048/
State Not Applicable
Headers show

Comments

Jan Engelhardt - Nov. 26, 2012, 11:54 p.m.
/usr/share/automake-1.12/am/ltlibrary.am: warning:
'ulogd_output_SQLITE3.la': linking libtool libraries using a non-POSIX
archiver requires 'AM_PROG_AR' in 'configure.ac'
(one for each .la)

Signed-off-by: Jan Engelhardt <jengelh@inai.de>
---
 configure.ac |    1 +
 1 file changed, 1 insertion(+)
Eric Leblond - Nov. 27, 2012, 7:56 a.m.
Hello,

On Tue, 2012-11-27 at 00:54 +0100, Jan Engelhardt wrote:
> /usr/share/automake-1.12/am/ltlibrary.am: warning:
> 'ulogd_output_SQLITE3.la': linking libtool libraries using a non-POSIX
> archiver requires 'AM_PROG_AR' in 'configure.ac'
> (one for each .la)
> 
> Signed-off-by: Jan Engelhardt <jengelh@inai.de>
> ---
>  configure.ac |    1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/configure.ac b/configure.ac
> index c70887d..df0e9d3 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -6,6 +6,7 @@ AM_INIT_AUTOMAKE([-Wall foreign tar-pax no-dist-gzip dist-bzip2 1.10b])
>  AC_CONFIG_HEADER([config.h])
>  AC_CONFIG_MACRO_DIR([m4])
>  
> +m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
>  dnl kernel style compile messages
>  m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])

I've applied this patch which even work with an old automake ;)

BR,

Patch

diff --git a/configure.ac b/configure.ac
index c70887d..df0e9d3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -6,6 +6,7 @@  AM_INIT_AUTOMAKE([-Wall foreign tar-pax no-dist-gzip dist-bzip2 1.10b])
 AC_CONFIG_HEADER([config.h])
 AC_CONFIG_MACRO_DIR([m4])
 
+m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
 dnl kernel style compile messages
 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])