From 6addde24f43d4d77cd459ef1d34df84cdad49d8f Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Thu, 23 Oct 2014 12:58:56 +0300 Subject: Add --enable-sal-info Change-Id: I014d70ace7ce34b804ea2a018d3de8f94f7e0cbc --- configure.ac | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 950784790e18..a72e4a8a9290 100644 --- a/configure.ac +++ b/configure.ac @@ -1015,6 +1015,10 @@ AC_ARG_ENABLE(debug, [Include debugging information, disable compiler optimization and inlining plus extra debugging code like assertions. Extra large build! (enables -g compiler flag).])) +AC_ARG_ENABLE(sal-info, + AS_HELP_STRING([--enable-sal-info], + [Make SAL_INFO and SAL_WARN calls do something even in a non-debug build.])) + AC_ARG_ENABLE(selective-debuginfo, AS_HELP_STRING([--enable-selective-debuginfo], [If --enable-debug or --enable-dbgutil is used, build debugging information @@ -3801,6 +3805,11 @@ AC_SUBST(ENABLE_DEBUG) AC_SUBST(ANDROID_DEBUGGABLE) AC_SUBST(ANDROID_INSTALL_LOCATION) +if test "$enable_sal_info" = yes; then + ENABLE_SAL_INFO=TRUE +fi +AC_SUBST(ENABLE_SAL_INFO) + dnl Selective debuginfo ENABLE_DEBUGINFO_FOR= if test -n "$ENABLE_DEBUG"; then -- cgit