diff options
author | stu <stwo@users.sourceforge.net> | 2017-11-07 22:39:08 (GMT) |
---|---|---|
committer | stu <stwo@users.sourceforge.net> | 2017-11-07 22:39:08 (GMT) |
commit | 3a06e5165e7010bc5b3aea3f020d02304c136af7 (patch) | |
tree | ccbefcc503beb14fe4d7318479fd08f6a0611d73 /generic/tkPkgConfig.c | |
parent | d2d66f59090ac586f2dce5b38d965cd66f51dfc8 (diff) | |
download | tk-3a06e5165e7010bc5b3aea3f020d02304c136af7.zip tk-3a06e5165e7010bc5b3aea3f020d02304c136af7.tar.gz tk-3a06e5165e7010bc5b3aea3f020d02304c136af7.tar.bz2 |
Add fontsystem values for Win and Mac.
Diffstat (limited to 'generic/tkPkgConfig.c')
-rw-r--r-- | generic/tkPkgConfig.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/generic/tkPkgConfig.c b/generic/tkPkgConfig.c index d913fb1..8ea2c29 100644 --- a/generic/tkPkgConfig.c +++ b/generic/tkPkgConfig.c @@ -94,7 +94,11 @@ # define CFG_PROFILED "0" #endif -#ifdef HAVE_XFT +#if defined(_WIN32) || defined(__CYGWIN__) +# define CFG_FONTSYSTEM "gdi" +#elif defined(MAC_OSX_TK) +# define CFG_FONTSYSTEM "xft" +#elif defined(HAVE_XFT) # define CFG_FONTSYSTEM "xft" #else # define CFG_FONTSYSTEM "x11" |