From 2cf4337bc32b7baad49649232b1c01215adeb5ba Mon Sep 17 00:00:00 2001 From: midipix Date: Wed, 19 Dec 2018 17:23:17 -0500 Subject: project: custom config: refactored unit-specific tests. --- project/config/cfgdefs.sh | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) (limited to 'project/config') 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" -- cgit v1.2.3