Commit 53e2e92e authored by Egbert Eich's avatar Egbert Eich Committed by Ulrich Sibiller

Don't hard code path to Xcms.txt file.

The path to this file is configurable at build time. The source however contains a hard coded path. Signed-off-by: 's avatarEgbert Eich <eich@freedesktop.org> Reviewed-by: 's avatarAlan Coopersmith <alan.coopersmith@oracle.com> Backported-to-NX-by: 's avatarUlrich Sibiller <uli42@gmx.de>
parent 11d6dac9
...@@ -159,7 +159,7 @@ EXTRA_LIBRARIES = /**/ ...@@ -159,7 +159,7 @@ EXTRA_LIBRARIES = /**/
XF86BIGFONT_DEFINES = XF86BigfontExtensionDefines XF86BIGFONT_DEFINES = XF86BigfontExtensionDefines
EDB_DEFINES = -DERRORDB=\"$(USRDATADIR)/XErrorDB\" EDB_DEFINES = -DERRORDB=\"$(USRDATADIR)/XErrorDB\"
CMS_DEFINES = -DXCMSDB=\"$(USRDATADIR)/Xcms.txt\" CMS_DEFINES = -DXCMSDB=\"$(USRDATADIR)/Xcms.txt\" -DXCMSDIR=\"$(USRDATADIR)\"
#if HasSnprintf #if HasSnprintf
MISC_DEFINES = -DHAS_SNPRINTF -DLIBX11 MISC_DEFINES = -DHAS_SNPRINTF -DLIBX11
#endif #endif
......
...@@ -54,7 +54,7 @@ static Status LoadColornameDB(void); ...@@ -54,7 +54,7 @@ static Status LoadColornameDB(void);
* #define declarations local to this package. * #define declarations local to this package.
*/ */
#ifndef XCMSDB #ifndef XCMSDB
#define XCMSDB "/usr/lib/X11/Xcms.txt" #define XCMSDB XCMSDIR "/Xcms.txt"
#endif #endif
#ifndef isgraph #ifndef isgraph
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment