diff options
author | Christophe Fergeau <cfergeau@redhat.com> | 2015-05-19 18:35:52 +0200 |
---|---|---|
committer | Christophe Fergeau <cfergeau@redhat.com> | 2015-06-02 16:56:09 +0200 |
commit | cb6605724f3793801cd5be5ce5ca2a71f1f39f1f (patch) | |
tree | 3084d2233bd219b888fa07502d9489672c4c26f5 | |
parent | 2ab5088f753874f75d5278d9f43748ef08628b04 (diff) |
build-sys: Add --with-os-id
This new configure flag allows to specify a string ID (eg fedora22,
ubuntu10.04, ..) identifying the OS this remote-viewer build will be
for. This will be used in combination with the new 'versions' field in
.vv files in order to make it possible for the creator of the .vv file
to specify which version it expects for the various OSes which may
connect.
-rw-r--r-- | configure.ac | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index ad98a51..68dfdec 100644 --- a/configure.ac +++ b/configure.ac @@ -230,6 +230,13 @@ if test "x$have_gtk_vnc" != "xyes" && test "x$have_spice_gtk" != "xyes"; then AC_MSG_ERROR([At least one of spice or vnc must be used]) fi +AC_ARG_WITH([osid], + AS_HELP_STRING([--with-osid=id], [Set OS ID for use in .vv files])) +echo "osid: $with_osid" +if test -n "$with_osid"; then + AC_DEFINE_UNQUOTED([REMOTE_VIEWER_OS_ID], "$with_osid", [OS ID for this build]) +fi + AC_ARG_WITH([buildid], AS_HELP_STRING([--with-buildid=id], [Set additional build version details]), [buildid="$with_buildid"], [buildid="0"]) |