aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatias Elo <matias.elo@nokia.com>2017-11-01 14:47:05 +0200
committerMaxim Uvarov <maxim.uvarov@linaro.org>2017-11-16 18:44:54 +0300
commitfe1f56c168423800534b85d61f319d1dc327b49b (patch)
tree92866fd1614f320a7170f8b0328d1c1c15ec49fb
parent9163719bd4c04321592dad9da7f26539f49c8b7a (diff)
downloadodp-fe1f56c168423800534b85d61f319d1dc327b49b.tar.gz
configure: disable debug by default and print configured value
Disable debug checks by default for optimal performance. Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
-rw-r--r--configure.ac4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 459ea23..95e3160 100644
--- a/configure.ac
+++ b/configure.ac
@@ -227,7 +227,8 @@ DX_INIT_DOXYGEN($PACKAGE_NAME,
AC_ARG_ENABLE([debug],
[AS_HELP_STRING([--enable-debug],
[include additional debugging code ]
- [(set to 'full' to enable all --enable-*-debug-* options)])])
+ [(set to 'full' to enable all --enable-*-debug-* options)])],
+ [], [enable_debug=no])
AS_IF([test "x$enable_debug" != "xno"], [ODP_DEBUG=1],
[ODP_DEBUG=0])
@@ -380,6 +381,7 @@ AC_MSG_RESULT([
shared libraries: ${enable_shared}
ABI compatible: ${abi_compat}
Deprecated APIs: ${deprecated}
+ debug: ${enable_debug}
cunit: ${cunit_support}
test_vald: ${test_vald}
test_perf: ${test_perf}