From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from dude.hi.pengutronix.de ([2001:6f8:1178:2:21e:67ff:fe11:9c5c]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1SepQ9-0001aK-J2 for ptxdist@pengutronix.de; Wed, 13 Jun 2012 17:23:45 +0200 Received: from jbe by dude.hi.pengutronix.de with local (Exim 4.80) (envelope-from ) id 1SepQ9-0002Ag-FM for ptxdist@pengutronix.de; Wed, 13 Jun 2012 17:23:45 +0200 From: Juergen Beisert Date: Wed, 13 Jun 2012 17:23:40 +0200 Message-Id: <1339601023-28824-12-git-send-email-jbe@pengutronix.de> In-Reply-To: <1339601023-28824-1-git-send-email-jbe@pengutronix.de> References: <1339601023-28824-1-git-send-email-jbe@pengutronix.de> Subject: [ptxdist] [PATCH 11/14] Find: ensure the 'file' command is always found 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 Signed-off-by: Juergen Beisert --- Makefile.in | 1 + configure.ac | 1 + 2 files changed, 2 insertions(+) diff --git a/Makefile.in b/Makefile.in index 83bd4bc..a5c5ad4 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_find@ "$(abs_srcdir)/bin/find" + @ln -sf @PTXDIST_FILE@ "$(abs_srcdir)/bin/file" @ln -sf @GNU_cat@ "$(abs_srcdir)/bin/cat" @ln -sf @GNU_dirname@ "$(abs_srcdir)/bin/dirname" @ln -sf @GNU_readlink@ "$(abs_srcdir)/bin/readlink" diff --git a/configure.ac b/configure.ac index e76f60c..3d027b0 100644 --- a/configure.ac +++ b/configure.ac @@ -280,6 +280,7 @@ AC_PATH_PROGS(FILE, file,, $PATH) if test -z "$FILE"; then AC_MSG_ERROR([file could not be found, please install]) fi +AC_SUBST([PTXDIST_FILE], [$FILE]) dnl Check for msgfmt AC_PATH_PROGS(MSGFMT, msgfmt,, $PATH) -- 1.7.10 -- ptxdist mailing list ptxdist@pengutronix.de