From 4dca342be06cbd23f27c16f4e19faeee2a0653d0 Mon Sep 17 00:00:00 2001 From: Bryce Harrington Date: Mon, 1 Sep 2014 21:05:35 -0700 Subject: configure.ac: Quell warnings about AM_PROG_AR when using automake 1.12 AM_PROG_AR was introduced in automake 1.11.2. As per the docs for AM_PROG_AR, it is supposed to be included when the archiver ('ar') is used, but prior to automake 1.12 the warning was only shown iff -Wextra-portability was specified. automake 1.12 introduced a change that includes -Wextra-portability when -Wall is specified. For further discussion of the issue, see: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=11401 http://lists.gnu.org/archive/html/automake/2012-05/msg00014.html Signed-off-by: Bryce Harrington (bzr r13540) --- configure.ac | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure.ac b/configure.ac index 45abd1973..f27c4f5d5 100644 --- a/configure.ac +++ b/configure.ac @@ -22,6 +22,8 @@ AC_CANONICAL_HOST # obsolete mkinstalldirs script AM_INIT_AUTOMAKE([-Wall dist-zip dist-bzip2 tar-pax 1.9]) +m4_ifdef([AM_PROG_AR], [AM_PROG_AR]) dnl Workaround for Automake 1.12 + AC_ARG_ENABLE([lsb], AS_HELP_STRING([--enable-lsb], [LSB-compatible build configuration]), [ prefix=/opt/inkscape PATH="/opt/lsb/bin:$PATH" -- cgit v1.2.3