[tasque] [build] Build Dummy backend if it is debug build



commit ce8275ad0e18359f98e3157f8e3dc7179b192e2e
Author: Antonius Riha <antoniusriha gmail com>
Date:   Fri Aug 24 12:03:23 2012 +0200

    [build] Build Dummy backend if it is debug build
    
    By default the Dummy backend is now built if --enable-debug is given.
    Otherwise it's not built. Dummy backend build can be forced by
    specifying --enable-backend-dummy.

 configure.ac |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 575149b..a1f4130 100644
--- a/configure.ac
+++ b/configure.ac
@@ -156,8 +156,8 @@ fi
 #
 AC_ARG_ENABLE(backend_dummy,
 	AC_HELP_STRING([--enable-backend-dummy],
-		[Enable the Dummy (Debug) Backend [default=no]]),
-		final_backend_dummy=$enableval, final_backend_dummy=no)
+		[Enable the Dummy (Debug) Backend [default=if --enable-debug: yes; else: no]]),
+		final_backend_dummy=$enableval, final_backend_dummy=$enable_debug)
 AM_CONDITIONAL(ENABLE_BACKEND_DUMMY, test "x$final_backend_dummy" != "xno")
 
 #



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]