summaryrefslogtreecommitdiffstats
path: root/generic/tkPkgConfig.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-09-30 22:07:41 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-09-30 22:07:41 (GMT)
commit32fd820c915bae23b016062081b921b3feec4ca8 (patch)
treee6627347346bba10e91aba152a7cb8ae2af37595 /generic/tkPkgConfig.c
parent7cd82dd51717b3d6f8ee7568b14dc328b34760cc (diff)
downloadtk-32fd820c915bae23b016062081b921b3feec4ca8.zip
tk-32fd820c915bae23b016062081b921b3feec4ca8.tar.gz
tk-32fd820c915bae23b016062081b921b3feec4ca8.tar.bz2
If Tk is compiled with -DTK_NO_DEPRECATED, disable some testcases which fail because of that
Diffstat (limited to 'generic/tkPkgConfig.c')
-rw-r--r--generic/tkPkgConfig.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/generic/tkPkgConfig.c b/generic/tkPkgConfig.c
index fe084bf..ed8fb0b 100644
--- a/generic/tkPkgConfig.c
+++ b/generic/tkPkgConfig.c
@@ -100,6 +100,9 @@ static const Tcl_Config cfg[] = {
{"profiled", CFG_PROFILED},
{"64bit", CFG_64},
{"optimized", CFG_OPTIMIZED},
+#ifdef TK_NO_DEPRECATED
+ {"nodeprecated", "1"},
+#endif
{"mem_debug", CFG_MEMDEBUG},
{"fontsystem", CFG_FONTSYSTEM},