summaryrefslogtreecommitdiffhomepage
path: root/configure
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2021-04-09 13:31:49 +0000
committermidipix <writeonce@midipix.org>2021-04-10 20:54:43 +0000
commit1514d213074a85ffcb263bfb8c844f5396a7df3d (patch)
tree804d0eb01b1aa12d64a8ce392d37a8626ede2f32 /configure
parent4c318f4190ced366dec1356f49f49d9d30e600f6 (diff)
downloadntapi-1514d213074a85ffcb263bfb8c844f5396a7df3d.tar.bz2
ntapi-1514d213074a85ffcb263bfb8c844f5396a7df3d.tar.xz
build system: posix make support: refactored build-flavor dependency schemes.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure34
1 files changed, 34 insertions, 0 deletions
diff --git a/configure b/configure
index df05578..a555eb6 100755
--- a/configure
+++ b/configure
@@ -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()