From: Paolo Bonzini Date: Thu, 28 Sep 2023 10:07:23 +0000 (+0200) Subject: configure: remove some dead cruft X-Git-Tag: pull-xenfv-stable-20231106~34^2~7 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=050b439887edbbd1b07b94111ffdffbc817e97cf;p=users%2Fdwmw2%2Fqemu.git configure: remove some dead cruft print_error is only invoked in one place, and $git is unused. Reviewed-by: Thomas Huth Signed-off-by: Paolo Bonzini --- diff --git a/configure b/configure index 5c1d618f10..0994f54530 100755 --- a/configure +++ b/configure @@ -94,7 +94,7 @@ quote_sh() { printf "%s" "$1" | sed "s,','\\\\'',g; s,.*,'&'," } -print_error() { +error_exit() { (echo echo "ERROR: $1" while test -n "$2"; do @@ -102,10 +102,6 @@ print_error() { shift done echo) >&2 -} - -error_exit() { - print_error "$@" exit 1 } @@ -248,7 +244,6 @@ done default_cflags='-O2 -g' git_submodules_action="update" -git="git" docs="auto" EXESUF="" prefix="/usr/local"