From 0691e6e4cee6f0e54b432fbf0e478d699e964eaf Mon Sep 17 00:00:00 2001 From: Jonathan Beck Date: Sat, 25 Oct 2008 17:29:29 +0200 Subject: add an option to strip off debug code --- configure.ac | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 2c08d10..645b3fb 100644 --- a/configure.ac +++ b/configure.ac @@ -45,4 +45,11 @@ AC_ARG_ENABLE([dev-tools], [build_dev_tools=false]) AM_CONDITIONAL(BUILD_DEV_TOOLS, test x$build_dev_tools = xtrue) +AC_ARG_ENABLE([debug-code], + [AS_HELP_STRING([--enable-debug-code], + [enable debug message reporting in library (default is yes)])], + [debug_code=true], + [debug_code=false]) +AM_CONDITIONAL(STRIP_DEBUG_CODE, test x$debug_code = xfalse) + AC_OUTPUT(Makefile src/Makefile include/Makefile fdi/Makefile libiphone-1.0.pc) -- cgit v1.1-32-gdbae