diff options
Diffstat (limited to 'libX11/src/xcms')
-rw-r--r-- | libX11/src/xcms/Makefile.am | 5 | ||||
-rw-r--r-- | libX11/src/xcms/cmsColNm.c | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/libX11/src/xcms/Makefile.am b/libX11/src/xcms/Makefile.am index 40212c01b..d147e23bf 100644 --- a/libX11/src/xcms/Makefile.am +++ b/libX11/src/xcms/Makefile.am @@ -9,7 +9,8 @@ AM_CPPFLAGS= \ -I$(top_srcdir)/src/xkb \ -I$(top_srcdir)/src/xlibi18n \ -I$(top_srcdir)/src \ - -D_BSD_SOURCE + -D_BSD_SOURCE \ + -DXCMSDIR=\"$(X11dir)\" AM_CFLAGS= \ $(X11_CFLAGS) \ @@ -84,7 +85,7 @@ libxcms_la_SOURCES = \ xyY.c \ Xcmsint.h -X11dir = $(libdir)/X11 +X11dir = $(X11_DATADIR) dist_X11_DATA = Xcms.txt diff --git a/libX11/src/xcms/cmsColNm.c b/libX11/src/xcms/cmsColNm.c index 8518adfd1..73977e5fc 100644 --- a/libX11/src/xcms/cmsColNm.c +++ b/libX11/src/xcms/cmsColNm.c @@ -53,7 +53,7 @@ static Status LoadColornameDB(void); * #define declarations local to this package. */ #ifndef XCMSDB -#define XCMSDB "/usr/lib/X11/Xcms.txt" +#define XCMSDB XCMSDIR "/Xcms.txt" #endif #ifndef isgraph |