[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH] configure: add --version flag
From: |
Mike Frysinger |
Subject: |
[Qemu-devel] [PATCH] configure: add --version flag |
Date: |
Thu, 7 Apr 2011 01:12:28 -0400 |
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 <address@hidden>
---
configure | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/configure b/configure
index 3593dc6..4b7ed5e 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"
--
1.7.4.1
- [Qemu-devel] [PATCH] configure: add --version flag,
Mike Frysinger <=