From patchwork Wed Nov 30 20:51:33 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jim Meyering X-Patchwork-Id: 128569 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "acsinet15.oracle.com", Issuer "VeriSign Class 3 International Server CA - G3" (verified OK)) by ozlabs.org (Postfix) with ESMTPS id C2F93B6F83 for ; Thu, 1 Dec 2011 07:52:07 +1100 (EST) Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by acsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id pAUKq1b4023884 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 30 Nov 2011 20:52:02 GMT Received: from oss.oracle.com (oss.oracle.com [141.146.12.120]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id pAUKq0e3018589 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 30 Nov 2011 20:52:00 GMT Received: from localhost ([127.0.0.1] helo=oss.oracle.com) by oss.oracle.com with esmtp (Exim 4.63) (envelope-from ) id 1RVr8F-0003iS-BJ; Wed, 30 Nov 2011 12:51:55 -0800 Received: from acsinet11.oracle.com ([141.146.126.233]) by oss.oracle.com with esmtp (Exim 4.63) (envelope-from ) id 1RVr8D-0003iC-5B for fedfs-utils-devel@oss.oracle.com; Wed, 30 Nov 2011 12:51:53 -0800 Received: from mx.meyering.net (mx.meyering.net [88.168.87.75]) by acsinet11.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id pAUKpoJn003334 for ; Wed, 30 Nov 2011 20:51:52 GMT Received: by rho.meyering.net (Acme Bit-Twister, from userid 1000) id 93A4B60193; Wed, 30 Nov 2011 21:51:48 +0100 (CET) From: Jim Meyering To: fedfs-utils-devel@oss.oracle.com Date: Wed, 30 Nov 2011 21:51:33 +0100 Message-Id: <1322686298-14634-4-git-send-email-jim@meyering.net> X-Mailer: git-send-email 1.7.7.3 In-Reply-To: <1322686298-14634-1-git-send-email-jim@meyering.net> References: <1322686298-14634-1-git-send-email-jim@meyering.net> X-Flow-Control-Info: class=Default ip=88.168.87.75 ct-class=G1 ct-vol1=0 ct-vol2=0 ct-vol3=0 ct-risk=0 ct-spam1=0 ct-spam2=0 ct-bulk=0 rcpts=1 size=969 Subject: [fedfs-utils] [PATCH 3/8] build: avoid automake warnings about AM_PROG_AR requirement X-BeenThere: fedfs-utils-devel@oss.oracle.com X-Mailman-Version: 2.1.9 Precedence: list Reply-To: fedfs-utils Developers List-Id: fedfs-utils Developers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: fedfs-utils-devel-bounces@oss.oracle.com Errors-To: fedfs-utils-devel-bounces@oss.oracle.com X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-CT-RefId: str=0001.0A090203.4ED69772.0048:SCFSTAT3865452, ss=1, re=-4.000, fgs=0 From: Jim Meyering * configure.ac: Use AM_PROG_AR (must precede LT_INIT). Without this, when using what will soon be automake-1.11.2, we'd get a warning like this for each .a file: automake: warnings are treated as errors /usr/share/automake-1.11a/am/library.am: warning: `libadmin.a':\ linking libraries using a non-POSIX /usr/share/automake-1.11a/am/library.am: archiver requires \ `AM_PROG_AR' in `configure.ac' src/libadmin/Makefile.am:26: while processing library `libadmin.a' --- configure.ac | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/configure.ac b/configure.ac index 2a2052f..6e84293 100644 --- a/configure.ac +++ b/configure.ac @@ -32,6 +32,8 @@ AC_CONFIG_SRCDIR([src]) AC_CONFIG_HEADERS([config.h]) AC_CONFIG_MACRO_DIR([m4]) +AM_PROG_AR + # Automake and libtools initialization LT_INIT AM_INIT_AUTOMAKE([-Wall -Werror silent-rules])