[virt-tools-list] [virt-viewer 1/2] build-sys: Always prepend '-' to buildid
Christophe Fergeau
cfergeau at redhat.com
Tue Jun 2 14:18:58 UTC 2015
This was added in commit 3232ddb and mistakenly removed in 28a6bd6
Without this added dash, remote-viewer --version gives something like
"3.01" with a '1' buildid.
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index c99378b..ef13477 100644
--- a/configure.ac
+++ b/configure.ac
@@ -232,7 +232,7 @@ fi
AC_ARG_WITH([buildid],
AS_HELP_STRING([--with-buildid=id], [Set additional build version details]),
- [buildid="$with_buildid"], [buildid="0"])
+ [buildid="-$with_buildid"], [buildid="0"])
AC_DEFINE_UNQUOTED([BUILDID], "$buildid", [Build version details])
AC_SUBST([BUILDID], "$buildid")
--
2.4.2
More information about the virt-tools-list
mailing list