Signed-off-by: Juergen Beisert <j...@pengutronix.de>
---
 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

Reply via email to