From 0c8f9d54c6d49bba08767fb9a1593c5a4b85445b Mon Sep 17 00:00:00 2001 From: Dhaval Giani Date: Mon, 16 Feb 2009 08:45:54 +0000 Subject: libcgroup: Add configure option to enable debug output From: Jan Safranek There is new configure script option, which defines CGROUP_DEBUG. Usage: ./configure --enable-debug Signed-off-by: Jan Safranek Signed-off-by: Dhaval Giani git-svn-id: https://libcg.svn.sourceforge.net/svnroot/libcg/trunk@326 4f4bb910-9a46-0410-90c8-c897d4f1cd53 --- configure.in | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 788877b..48c51e8 100644 --- a/configure.in +++ b/configure.in @@ -18,6 +18,14 @@ AC_INIT([control groups library and utilities], 0.32.2, AC_CONFIG_SRCDIR([wrapper.c]) AC_CONFIG_HEADER([config.h]) +# Process command line options +AC_ARG_ENABLE([debug], + [AC_HELP_STRING([--enable-debug], + [enable extra debugging output [default=no]])], + [AC_DEFINE([CGROUP_DEBUG], [], + [Define to enable extra debugging output.])], + []) + # Checks for programs. AC_PROG_CXX AC_PROG_CC -- cgit