Changed backtrace conditionals to use a feature switch 83/27183/3
authorDavid Steele <david.steele@partner.samsung.com>
Fri, 5 Sep 2014 18:20:56 +0000 (19:20 +0100)
committerAdeel Kazmi <adeel.kazmi@samsung.com>
Tue, 9 Sep 2014 14:26:38 +0000 (07:26 -0700)
commita4d4d0231116cd0d74734dd3608d50659adf81fd
treedc46826ee2703046fac5e8ad83cb45215b7ef218
parentcae11e3fbde5abbd06ac6b139f41be05fe551a41
Changed backtrace conditionals to use a feature switch

[Problem] backtrace(), backtrace_symbols() and demangle are gcc specific features which aren't
present on other platforms.
[Cause]   Works for base linux
[Solution] Ensure that the feature is wrapped with a Dali feature flag in configure. It is
enabled by default (logging the backtrace on exception), but can be disabled at configuration
time by using
 ./configure --disable-backtrace

Change-Id: Ia8032b057489a563d1ba5339ed2cab7687906c1b
Signed-off-by: David Steele <david.steele@partner.samsung.com>
build/tizen/configure.ac
dali/public-api/common/dali-common.cpp