Note Xft support in option window
This commit is contained in:
committed by
Pasi Kallinen
parent
faba01dd25
commit
7e39b3faf1
@@ -576,6 +576,9 @@ static const char *const build_opts[] = {
|
||||
#ifdef USE_XPM
|
||||
"tiles file in XPM format",
|
||||
#endif
|
||||
#ifdef USE_XFT
|
||||
"font rendering with Xft",
|
||||
#endif
|
||||
#ifdef GRAPHIC_TOMBSTONE
|
||||
"graphical RIP screen",
|
||||
#endif
|
||||
|
||||
@@ -410,7 +410,8 @@ X11CFLAGS = -I/opt/X11/include
|
||||
# avoid repeated complaints about _X_NONNULL(args...) in <X11/Xfuncproto.h>
|
||||
X11CFLAGS += -Wno-variadic-macros
|
||||
ifdef USE_XFT
|
||||
X11CFLAGS += -DUSE_XFT $(shell pkg-config --cflags xft fontconfig)
|
||||
CFLAGS += -DUSE_XFT
|
||||
X11CFLAGS += $(shell pkg-config --cflags xft fontconfig)
|
||||
WINX11LIB += $(shell pkg-config --libs xft fontconfig)
|
||||
endif
|
||||
ifdef USE_XPM
|
||||
|
||||
@@ -289,7 +289,8 @@ X11CFLAGS = -I/opt/X11/include
|
||||
# avoid repeated complaints about _X_NONNULL(args...) in <X11/Xfuncproto.h>
|
||||
X11CFLAGS += -Wno-variadic-macros
|
||||
ifdef USE_XFT
|
||||
X11CFLAGS += -DUSE_XFT $(shell pkg-config --cflags xft fontconfig)
|
||||
CFLAGS += -DUSE_XFT
|
||||
X11CFLAGS += $(shell pkg-config --cflags xft fontconfig)
|
||||
WINX11LIB += $(shell pkg-config --libs xft fontconfig)
|
||||
endif
|
||||
ifdef USE_XPM
|
||||
|
||||
Reference in New Issue
Block a user