diff mbox series

[RESENT,iproute2,3/7] configure: Remove unused function check_prog()

Message ID 20181215180044.22868-3-petr.vorel@gmail.com
State Accepted, archived
Delegated to: stephen hemminger
Headers show
Series [RESENT,iproute2,1/7] man: rtpr: Rename s/bash/shell/ | expand

Commit Message

Petr Vorel Dec. 15, 2018, 6 p.m. UTC
Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
---
 configure | 6 ------
 1 file changed, 6 deletions(-)
diff mbox series

Patch

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}