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-0001aF-I0 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-0002Aa-El for ptxdist@pengutronix.de; Wed, 13 Jun 2012 17:23:45 +0200 From: Juergen Beisert Date: Wed, 13 Jun 2012 17:23:39 +0200 Message-Id: <1339601023-28824-11-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 10/14] 'xargs' is from findutils. So, handle it like all other findutils 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 | 2 +- configure.ac | 14 +------------- 2 files changed, 2 insertions(+), 14 deletions(-) diff --git a/Makefile.in b/Makefile.in index 2d13444..83bd4bc 100644 --- a/Makefile.in +++ b/Makefile.in @@ -61,7 +61,7 @@ environment: @ln -sf @GNU_sort@ "$(abs_srcdir)/bin/sort" @ln -sf @PYTHON@ "$(abs_srcdir)/bin/python" @ln -sf @SED@ "$(abs_srcdir)/bin/sed" - @ln -sf @XARGS@ "$(abs_srcdir)/bin/xargs" + @ln -sf @GNU_xargs@ "$(abs_srcdir)/bin/xargs" @ln -sf @SYSCTL@ "$(abs_srcdir)/bin/sysctl" @echo " done" diff --git a/configure.ac b/configure.ac index defa1b4..e76f60c 100644 --- a/configure.ac +++ b/configure.ac @@ -152,6 +152,7 @@ GNU_TOOL(cat, coreutils) GNU_TOOL(readlink, coreutils) GNU_TOOL(tar, tar) GNU_TOOL(find, findutils) +GNU_TOOL(xargs, findutils) dnl Check for egrep AC_PROG_EGREP @@ -259,19 +260,6 @@ case "$FIND_VERSION" in esac AC_MSG_RESULT([$FIND_VERSION]) -dnl Check for xargs -AC_PATH_PROGS(XARGS, xargs,, $PATH) -if test -z "$XARGS"; then - AC_MSG_ERROR([xargs could not be found, please install]) -fi - -AC_MSG_CHECKING([if xargs -r works as expected]) -echo | ${XARGS} -r false -if test $? -ne 0; then - AC_MSG_ERROR([xargs with "-r" support needed, please install GNU xargs (unsually located in the "findutils" package]) -fi -AC_MSG_RESULT([ok]) - dnl Check for make AC_PATH_PROGS(MAKE, gmake gnumake make,, $PATH) if test -z "$MAKE"; then -- 1.7.10 -- ptxdist mailing list ptxdist@pengutronix.de