提交 99123e13 编写于 作者: M Mike Frysinger 提交者: Edgar E. Iglesias

configure: add --version flag

Standard autoconf scripts include a --version flag so people can easily
query things.  Add this to qemu's configure so it too can integrate with
build systems that have standard autotool helpers.
Signed-off-by: NMike Frysinger <vapier@gentoo.org>
Signed-off-by: NEdgar E. Iglesias <edgar.iglesias@gmail.com>
上级 c8f930c0
...@@ -494,6 +494,8 @@ for opt do ...@@ -494,6 +494,8 @@ for opt do
case "$opt" in case "$opt" in
--help|-h) show_help=yes --help|-h) show_help=yes
;; ;;
--version|-V) exec cat $source_path/VERSION
;;
--prefix=*) prefix="$optarg" --prefix=*) prefix="$optarg"
;; ;;
--interp-prefix=*) interp_prefix="$optarg" --interp-prefix=*) interp_prefix="$optarg"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册