From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from smtprelay06.ispgateway.de ([80.67.31.104]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1S9tjU-0001XA-9x for ptxdist@pengutronix.de; Tue, 20 Mar 2012 08:43:53 +0100 Received: from [93.104.149.103] (helo=localhost) by smtprelay06.ispgateway.de with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.68) (envelope-from ) id 1S9tjT-0000qS-WB for ptxdist@pengutronix.de; Tue, 20 Mar 2012 08:43:52 +0100 From: Bernhard Walle Date: Tue, 20 Mar 2012 08:43:51 +0100 Message-Id: <1332229431-25977-1-git-send-email-bernhard@bwalle.de> Subject: [ptxdist] [PATCH] configure.ac: Check for GNU ar Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de To build the ipk packages, we need the 'f' flag which is a GNU extension: -{ ar(1) }---------------------------------------------------------------------- f Truncate names in the archive. GNU ar will normally permit file names of any length. This will cause it to create archives which are not compatible with the native ar program on some systems. If this is a concern, the f modifier may be used to truncate file names when putting them in the archive. -------------------------------------------------------------------------------- Signed-off-by: Bernhard Walle --- Makefile.in | 1 + configure.ac | 1 + 2 files changed, 2 insertions(+) diff --git a/Makefile.in b/Makefile.in index 17a6ce6..11e71c3 100644 --- a/Makefile.in +++ b/Makefile.in @@ -55,6 +55,7 @@ environment: @ln -sf @GNU_mknod@ "$(abs_srcdir)/bin/mknod" @ln -sf @GNU_tar@ "$(abs_srcdir)/bin/tar" @ln -sf @GNU_readlink@ "$(abs_srcdir)/bin/readlink" + @ln -sf @GNU_ar@ "$(abs_srcdir)/bin/ar" @ln -sf @PYTHON@ "$(abs_srcdir)/bin/python" @ln -sf @SED@ "$(abs_srcdir)/bin/sed" @ln -sf @XARGS@ "$(abs_srcdir)/bin/xargs" diff --git a/configure.ac b/configure.ac index 78597cc..d51ae4c 100755 --- a/configure.ac +++ b/configure.ac @@ -148,6 +148,7 @@ GNU_TOOL(stat, coreutils) GNU_TOOL(mknod, coreutils) GNU_TOOL(readlink, coreutils) GNU_TOOL(tar, tar) +GNU_TOOL(ar, Binutils) dnl Check for egrep AC_PROG_EGREP -- 1.7.9.4 -- ptxdist mailing list ptxdist@pengutronix.de