summaryrefslogtreecommitdiffstats
path: root/generic/tkPkgConfig.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tkPkgConfig.c')
-rw-r--r--generic/tkPkgConfig.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/generic/tkPkgConfig.c b/generic/tkPkgConfig.c
index 8019ac9..19f27b8 100644
--- a/generic/tkPkgConfig.c
+++ b/generic/tkPkgConfig.c
@@ -105,21 +105,45 @@ static Tcl_Config const cfg[] = {
/* Runtime paths to various stuff */
+#ifdef CFG_RUNTIME_LIBDIR
{"libdir,runtime", CFG_RUNTIME_LIBDIR},
+#endif
+#ifdef CFG_RUNTIME_BINDIR
{"bindir,runtime", CFG_RUNTIME_BINDIR},
+#endif
+#ifdef CFG_RUNTIME_SCRDIR
{"scriptdir,runtime", CFG_RUNTIME_SCRDIR},
+#endif
+#ifdef CFG_RUNTIME_INCDIR
{"includedir,runtime", CFG_RUNTIME_INCDIR},
+#endif
+#ifdef CFG_RUNTIME_DOCDIR
{"docdir,runtime", CFG_RUNTIME_DOCDIR},
+#endif
+#ifdef CFG_RUNTIME_DEMODIR
{"demodir,runtime", CFG_RUNTIME_DEMODIR},
+#endif
/* Installation paths to various stuff */
+#ifdef CFG_INSTALL_LIBDIR
{"libdir,install", CFG_INSTALL_LIBDIR},
+#endif
+#ifdef CFG_INSTALL_BINDIR
{"bindir,install", CFG_INSTALL_BINDIR},
+#endif
+#ifdef CFG_INSTALL_SCRDIR
{"scriptdir,install", CFG_INSTALL_SCRDIR},
+#endif
+#ifdef CFG_INSTALL_INCDIR
{"includedir,install", CFG_INSTALL_INCDIR},
+#endif
+#ifdef CFG_INSTALL_DOCDIR
{"docdir,install", CFG_INSTALL_DOCDIR},
+#endif
+#ifdef CFG_INSTALL_DEMODIR
{"demodir,install", CFG_INSTALL_DEMODIR},
+#endif
/* Last entry, closes the array */
{NULL, NULL}