[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20181215180044.22868-3-petr.vorel@gmail.com>
Date: Sat, 15 Dec 2018 19:00:40 +0100
From: Petr Vorel <petr.vorel@...il.com>
To: netdev@...r.kernel.org
Cc: Petr Vorel <petr.vorel@...il.com>,
Stephen Hemminger <stephen@...workplumber.org>
Subject: [PATCH RESENT iproute2 3/7] configure: Remove unused function check_prog()
Signed-off-by: Petr Vorel <petr.vorel@...il.com>
---
configure | 6 ------
1 file changed, 6 deletions(-)
diff --git a/configure b/configure
index 5df6082b..614355dd 100755
--- a/configure
+++ b/configure
@@ -11,12 +11,6 @@ CONFIG=config.mk
TMPDIR=$(mktemp -d config.XXXXXX)
trap 'status=$?; rm -rf $TMPDIR; exit $status' EXIT HUP INT QUIT TERM
-check_prog()
-{
- echo -n "$2"
- command -v $1 >/dev/null 2>&1 && (echo "$3:=y" >> $CONFIG; echo "yes") || (echo "no"; return 1)
-}
-
check_toolchain()
{
: ${PKG_CONFIG:=pkg-config}
--
2.20.0
Powered by blists - more mailing lists