summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryce Harrington <b.harrington@samsung.com>2014-07-08 12:39:02 -0700
committerBryce Harrington <b.harrington@samsung.com>2014-07-11 18:34:43 -0700
commit0f46fc8dc173698b6d61ba757e1e42f2319d6ace (patch)
treee92c9436fe1f465d8c03ccd535c3d9a1f8e46d7c
parent312553af298692111928a9443b75a00bf46d2adb (diff)
downloadcairo-0f46fc8dc173698b6d61ba757e1e42f2319d6ace.tar.gz
configure.ac: Quell warnings about AM_PROG_AR when using automake 1.12
Without this, autogen.sh issues warnings like: /usr/share/automake-1.14/am/ltlibrary.am: warning: 'libcairoboilerplate_cxx.la': linking libtool libraries using a non-POSIX /usr/share/automake-1.14/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac' boilerplate/Makefile.am:18: while processing Libtool library 'libcairoboilerplate_cxx.la' 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 <b.harrington@samsung.com> Reviewed-by: Uli Schlachter <psychon@znc.in>
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 4fdd2fb59..59bd03d0f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -15,6 +15,7 @@ AC_CHECK_HEADERS([unistd.h sys/ioctl.h])
AM_INIT_AUTOMAKE([1.11 foreign -Wall no-define no-dist-gzip dist-xz])
AM_SILENT_RULES([yes])
+m4_ifdef([AM_PROG_AR], [AM_PROG_AR]) dnl Workaround for Automake 1.12
# Initialize libtool
LT_PREREQ([2.2])