summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorPetr Vorel <petr.vorel@gmail.com>2018-12-15 19:00:40 +0100
committerStephen Hemminger <sthemmin@microsoft.com>2018-12-18 10:52:35 -0800
commit3de834e6e22e4e412f6926217dcf1d8ef8134a49 (patch)
treef1c5780f474ab7a18e510cd8000b7bcad1b59cb7 /configure
parentec7cac05fff4471884a6fcc2beee06d371dc6b33 (diff)
configure: Remove unused function check_prog()
Signed-off-by: Petr Vorel <petr.vorel@gmail.com> Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 0 insertions, 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}