* [Qemu-devel] [PATCH] configure: add --version flag
@ 2011-04-07 5:12 Mike Frysinger
2011-04-07 7:31 ` [Qemu-devel] " Paolo Bonzini
0 siblings, 1 reply; 3+ messages in thread
From: Mike Frysinger @ 2011-04-07 5:12 UTC (permalink / raw)
To: qemu-devel
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>
---
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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Qemu-devel] Re: [PATCH] configure: add --version flag
2011-04-07 5:12 [Qemu-devel] [PATCH] configure: add --version flag Mike Frysinger
@ 2011-04-07 7:31 ` Paolo Bonzini
2011-04-07 8:52 ` Edgar E. Iglesias
0 siblings, 1 reply; 3+ messages in thread
From: Paolo Bonzini @ 2011-04-07 7:31 UTC (permalink / raw)
To: Mike Frysinger; +Cc: qemu-devel
On 04/07/2011 07:12 AM, Mike Frysinger wrote:
> 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>
ACK
Paolo
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] Re: [PATCH] configure: add --version flag
2011-04-07 7:31 ` [Qemu-devel] " Paolo Bonzini
@ 2011-04-07 8:52 ` Edgar E. Iglesias
0 siblings, 0 replies; 3+ messages in thread
From: Edgar E. Iglesias @ 2011-04-07 8:52 UTC (permalink / raw)
To: Paolo Bonzini; +Cc: Mike Frysinger, qemu-devel
On Thu, Apr 07, 2011 at 09:31:24AM +0200, Paolo Bonzini wrote:
> On 04/07/2011 07:12 AM, Mike Frysinger wrote:
> > 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>
>
> ACK
Applied, thanks.
Cheers
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-04-07 8:52 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-07 5:12 [Qemu-devel] [PATCH] configure: add --version flag Mike Frysinger
2011-04-07 7:31 ` [Qemu-devel] " Paolo Bonzini
2011-04-07 8:52 ` Edgar E. Iglesias
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).