mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/virt-viewer
synced 2026-01-11 08:07:25 +00:00
build-sys: Always prepend '-' to BUILDID
This was removed by commit 28a6bd6 as WINDOWS_PRODUCTVERSION
needs a buildid without a dash. Apart from this variable,
all other uses of buildid/BUILDID in virt-viewer source tree
need a dash between the version number and the buildid to avoid getting
output like "3.01" instead of "3.0-1"
Rather than patching every location where BUILDID is used, this commit
appends the "-" before substituting/defining BUILDID in configure.ac.
This does not modifies the buildid configure.ac variable, this way
WINDOWS_PRODUCTVERSION won't get an unwanted '-'.
This commit is contained in:
parent
0401199b9c
commit
b43f4f2779
@ -235,8 +235,8 @@ AC_ARG_WITH([buildid],
|
||||
[buildid="$with_buildid"], [buildid="0"])
|
||||
|
||||
if test "x$buildid" != "x0"; then
|
||||
AC_DEFINE_UNQUOTED([BUILDID], "$buildid", [Build version details])
|
||||
AC_SUBST([BUILDID], "$buildid")
|
||||
AC_DEFINE_UNQUOTED([BUILDID], "-$buildid", [Build version details])
|
||||
AC_SUBST([BUILDID], "-$buildid")
|
||||
else
|
||||
AC_DEFINE_UNQUOTED([BUILDID], "", [Build version details])
|
||||
fi
|
||||
|
||||
Loading…
Reference in New Issue
Block a user