summaryrefslogtreecommitdiff
path: root/project/config
diff options
context:
space:
mode:
Diffstat (limited to 'project/config')
-rw-r--r--project/config/cfgdefs.sh21
1 files changed, 15 insertions, 6 deletions
diff --git a/project/config/cfgdefs.sh b/project/config/cfgdefs.sh
index a94a143..f184cb3 100644
--- a/project/config/cfgdefs.sh
+++ b/project/config/cfgdefs.sh
@@ -134,20 +134,29 @@ cfgdefs_perform_target_tests()
# common tests
cfgdefs_perform_common_tests
+ # ncurses libs
+ mb_cfgtest_makevar='LDFLAGS_NCURSES_LIBS'
+ cfgtest_makevar_append $mb_ncurses_libs
+
# ndbm
+ cfgtest_newline
+ cfgtest_comment 'ndbm'
cfgtest_header_presence 'ndbm.h'
# openssl
- mb_cfgtest_headers='openssl/x509.h'
+ cfgtest_newline
+ cfgtest_comment 'openssl/libressl'
- cfgtest_interface_presence 'X509_NAME_ENTRY_set' \
- && cfgtest_cflags_append '-DOPENSSL_VERSION_1_1'
+ mb_cfgtest_headers='openssl/x509.h'
- # ncurses libs
- mb_cfgtest_makevar='LDFLAGS_NCURSES_LIBS'
- cfgtest_makevar_append $mb_ncurses_libs
+ if cfgtest_interface_presence 'X509_NAME_ENTRY_set'; then
+ cfgtest_cflags_append '-DOPENSSL_VERSION_1_1'
+ fi
# tcl/tk libc
+ cfgtest_newline
+ cfgtest_comment 'tcl/tk'
+
for mb_tcltk_ver in 8.9 8.8 8.7 8.6 8.5; do
if [ -z "$mb_tcltk_libs" ]; then
mb_tcltk_libs="-ltk$mb_tcltk_ver -ltcl$mb_tcltk_ver"