summaryrefslogtreecommitdiff
path: root/project/config
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-12-19 21:35:03 -0500
committermidipix <writeonce@midipix.org>2018-12-19 22:12:13 -0500
commitf41ab17352e41799d9f844680e1a9ab577efc072 (patch)
tree7dfb93978dd2a132ccc081c982c98c3b4a1acda1 /project/config
parent577c059b69754409fa0f75d89f51d54729396106 (diff)
downloadsbpython3-f41ab17352e41799d9f844680e1a9ab577efc072.tar.bz2
sbpython3-f41ab17352e41799d9f844680e1a9ab577efc072.tar.xz
project: custom config: handle all tcl/tk-related bits at config-time.
Diffstat (limited to 'project/config')
-rw-r--r--project/config/cfgdefs.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/project/config/cfgdefs.sh b/project/config/cfgdefs.sh
index 2db66e4..1d3014c 100644
--- a/project/config/cfgdefs.sh
+++ b/project/config/cfgdefs.sh
@@ -212,6 +212,12 @@ cfgdefs_perform_target_tests()
mb_cfgtest_makevar='LDFLAGS_TCLTK_LIBS'
cfgtest_makevar_append "$mb_tcltk_libs"
+ mb_cfgtest_makevar='CFLAGS_TCLTK'
+ cfgtest_makevar_append '-DWITH_APPINIT'
+
+ mb_cfgtest_makevar='LDFLAGS_TCLTK'
+ cfgtest_makevar_append '$(LDFLAGS_TCLTK_LIBS)'
+
# sqlite
cfgtest_newline
cfgtest_comment 'sqlite3'