diff options
author | Petr Vorel <petr.vorel@gmail.com> | 2018-12-15 19:00:40 +0100 |
---|---|---|
committer | Stephen Hemminger <sthemmin@microsoft.com> | 2018-12-18 10:52:35 -0800 |
commit | 3de834e6e22e4e412f6926217dcf1d8ef8134a49 (patch) | |
tree | f1c5780f474ab7a18e510cd8000b7bcad1b59cb7 /configure | |
parent | ec7cac05fff4471884a6fcc2beee06d371dc6b33 (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-x | configure | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -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} |