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-0001aD-Gf 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-0002AT-Dq for ptxdist@pengutronix.de; Wed, 13 Jun 2012 17:23:45 +0200 From: Juergen Beisert Date: Wed, 13 Jun 2012 17:23:38 +0200 Message-Id: <1339601023-28824-10-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 09/14] 'cat' is from coreutils. So, handle it like all other coreutil tools 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 | 7 +------ 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/Makefile.in b/Makefile.in index c810f4e..2d13444 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 @GNU_cat@ "$(abs_srcdir)/bin/cat" @ln -sf @GNU_dirname@ "$(abs_srcdir)/bin/dirname" @ln -sf @GNU_readlink@ "$(abs_srcdir)/bin/readlink" @ln -sf @GNU_sort@ "$(abs_srcdir)/bin/sort" diff --git a/configure.ac b/configure.ac index d50b24c..defa1b4 100644 --- a/configure.ac +++ b/configure.ac @@ -148,6 +148,7 @@ GNU_TOOL(stat, coreutils) GNU_TOOL(mknod, coreutils) GNU_TOOL(dirname, coreutils) GNU_TOOL(sort, coreutils) +GNU_TOOL(cat, coreutils) GNU_TOOL(readlink, coreutils) GNU_TOOL(tar, tar) GNU_TOOL(find, findutils) @@ -250,12 +251,6 @@ if test -z "$WGET"; then AC_MSG_ERROR([wget could not be found, please install]) fi -dnl Check for cat -AC_PATH_PROGS(CAT, cat,, $PATH) -if test -z "$CAT"; then - AC_MSG_ERROR([cat could not be found, please install]) -fi - AC_MSG_CHECKING([find version]) FIND_VERSION=`$GNU_find --version 2>/dev/null | $SED -ne "s/.*\s\+\([[0-9]]\+\.[[0-9]]\+\.[[0-9]]\+\).*$/\1/p"` case "$FIND_VERSION" in -- 1.7.10 -- ptxdist mailing list ptxdist@pengutronix.de