diff options
author | midipix <writeonce@midipix.org> | 2021-04-09 13:31:49 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2021-04-10 20:54:52 +0000 |
commit | 64179346b94ac6b5c70ccdcf6ffdcb8200c18ece (patch) | |
tree | 396a1f538c6d880f660f5c42b0b899748af226ad /configure | |
parent | f228da55e860515cc9d0d40f47fd3d71c4fee46c (diff) | |
download | sbpython2-64179346b94ac6b5c70ccdcf6ffdcb8200c18ece.tar.bz2 sbpython2-64179346b94ac6b5c70ccdcf6ffdcb8200c18ece.tar.xz |
build system: posix make support: refactored build-flavor dependency schemes.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 34 |
1 files changed, 34 insertions, 0 deletions
@@ -657,6 +657,40 @@ config_opts() else mb_version_opt='used' fi + + if [ "$mb_custom_install_headers" = 'yes' ]; then + mb_install_headers_opt='custom' + else + mb_install_headers_opt='default' + fi + + if [ "$mb_disable_static" = 'yes' ]; then + mb_static_library_opt='disabled' + else + mb_static_library_opt='enabled' + fi + + if [ "$mb_disable_shared" = 'yes' ]; then + mb_shared_library_opt='disabled' + else + mb_shared_library_opt='enabled' + fi + + if [ "$mb_disable_frontend" = 'yes' ]; then + mb_app_frontend_opt='disabled' + else + mb_app_frontend_opt='enabled' + fi + + if [ "$mb_all_static" = 'yes' ]; then + mb_app_linking_opt='all_static' + + elif [ "$mb_all_shared" = 'yes' ]; then + mb_app_linking_opt='all_shared' + + else + mb_app_linking_opt='default' + fi } config_copy() |