]> git.proxmox.com Git - mirror_iproute2.git/commitdiff
configure: Remove unused function check_prog()
authorPetr Vorel <petr.vorel@gmail.com>
Sat, 15 Dec 2018 18:00:40 +0000 (19:00 +0100)
committerStephen Hemminger <sthemmin@microsoft.com>
Tue, 18 Dec 2018 18:52:35 +0000 (10:52 -0800)
Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
configure

index 5df6082bbd84e7d67455c36b3ea27aad79dcc71f..614355dd7e509295850af55de203b3baaead9646 100755 (executable)
--- 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}