summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorMike Frysinger2011-04-07 07:12:28 +0200
committerEdgar E. Iglesias2011-04-07 10:50:26 +0200
commit99123e139d698bee1531e8887e1a58207a52082b (patch)
treec0179f02d979a3231433b0fda1777693a7133acd /configure
parentcpu-all.h: Remove unnecessary target-specific ifdef for CPU_QuadU (diff)
downloadqemu-99123e139d698bee1531e8887e1a58207a52082b.tar.gz
qemu-99123e139d698bee1531e8887e1a58207a52082b.tar.xz
qemu-99123e139d698bee1531e8887e1a58207a52082b.zip
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: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure b/configure
index faaed60540..ae97e11a97 100755
--- a/configure
+++ b/configure
@@ -494,6 +494,8 @@ for opt do
case "$opt" in
--help|-h) show_help=yes
;;
+ --version|-V) exec cat $source_path/VERSION
+ ;;
--prefix=*) prefix="$optarg"
;;
--interp-prefix=*) interp_prefix="$optarg"