From acff1c38b14b984d76666a3fbb7496aa2e17bde6 Mon Sep 17 00:00:00 2001 From: Hugo Villeneuve Date: Sun, 6 Apr 2014 22:39:56 -0400 Subject: [PATCH] Add option -Wno-extra-portability to AM_INIT_AUTOMAKE To get rid of warning: linking libraries using a non-POSIX archiver requires 'AM_PROG_AR'... --- configure.ac | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 16a28b4..aca2410 100644 --- a/configure.ac +++ b/configure.ac @@ -6,8 +6,14 @@ AC_INIT([emu8051], [2.0.1], [hugo@hugovil.com], [emu8051], AC_CONFIG_AUX_DIR([build-aux]) AC_CONFIG_SRCDIR(src/common/cpu8051.c) -dnl Checking if the NEWS file has been updated to reflect the current version. -AM_INIT_AUTOMAKE(no-define check-news -Wall std-options color-tests parallel-tests) +dnl -Wno-extra-portability: +dnl To get rid of message: +dnl linking libraries using a non-POSIX archiver requires 'AM_PROG_AR'... +dnl -Wall: +dnl Ask automake to turn on all warnings (not a gcc flag) +AM_INIT_AUTOMAKE([no-define check-news std-options dist-bzip2 + color-tests parallel-tests + -Wall -Wno-extra-portability]) AM_SILENT_RULES([yes]) AM_CONFIG_HEADER(config.h:config-h.in) -- 2.20.1