x11glvndserver: Use MODULEVERSIONSTRING instead of hard-coding "NVIDIA Corporation"

The X headers define MODULEVENDORSTRING like so:

  #ifndef MODULEVENDORSTRING
  #define MODULEVENDORSTRING      "X.Org Foundation"
  #endif

This allows module vendors such as NVIDIA to override the vendor string at build
time, rather than hard-coding "NVIDIA Corporation" in the sources.

Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
Reviewed-by: Kyle Brenneman <kbrenneman@nvidia.com>
Fixes #48.
This commit is contained in:
Aaron Plattner 2016-02-16 10:39:17 -08:00
parent 458b343bbb
commit 4d977ea389
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ static ExtensionModule glvExtensionModule = {
static XF86ModuleVersionInfo x11glvndVersionInfo =
{
"x11glvnd",
"NVIDIA Corporation",
MODULEVENDORSTRING,
MODINFOSTRING1,
MODINFOSTRING2,
XORG_VERSION_NUMERIC(4,0,2,0,0),