aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw/nxagent/Imakefile
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2015-02-16 15:11:02 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2015-02-17 09:26:54 +0100
commit203d97147623b97a48c0f6456cc1de9d8364db03 (patch)
tree4f6b6a523afa97e065c3c786e2c6d4ae3a00893f /nx-X11/programs/Xserver/hw/nxagent/Imakefile
parenteb49d408c6a67d99ebd2771a8ed53b4da5926f7b (diff)
downloadnx-libs-203d97147623b97a48c0f6456cc1de9d8364db03.tar.gz
nx-libs-203d97147623b97a48c0f6456cc1de9d8364db03.tar.bz2
nx-libs-203d97147623b97a48c0f6456cc1de9d8364db03.zip
Make nxagent process aware of its current NX'ish version.
This feature copies the way how X.Org version string and number are propagated at build time. First use case: if people start nxagent, it reports its version number on stderr. This is about being human-friendly. Second use case: None, so far. But it will now be easy to use the NXAGENT_VERSION_STRING in later feature add-ons.
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/Imakefile')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Imakefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Imakefile b/nx-X11/programs/Xserver/hw/nxagent/Imakefile
index d812c7f70..6c075fa9f 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Imakefile
+++ b/nx-X11/programs/Xserver/hw/nxagent/Imakefile
@@ -189,7 +189,12 @@ UPG_DEFINES=-DNXAGENT_UPGRADE
UPG_DEFINES=
#endif
-DEFINES = -g $(OS_DEFINES) $(EXT_DEFINES) $(UPG_DEFINES) \
+#if nxVersion
+NX_DEFINES=-DNX_VERSION_CURRENT="$(NX_VERSION_CURRENT)" \
+ -DNX_VERSION_CURRENT_STRING="\"$(NX_VERSION_CURRENT_STRING)\""
+#endif
+
+DEFINES = -g $(OS_DEFINES) $(EXT_DEFINES) $(UPG_DEFINES) $(NX_DEFINES) \
-UXF86VIDMODE -UXFreeXDGA -UXF86MISC -UXF86DRI -UXFree86LOADER \
-DNXAGENT_SERVER \
-DNXAGENT_CONSTRAINCURSOR \