summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorrobi <robi>2010-06-19 18:53:52 +0000
committerrobi <robi>2010-06-19 18:53:52 +0000
commit70185b8d0a686f56b06f2a1b1f771284fa22f2ce (patch)
tree16b9596def7eb429ca6cee8446de91e6d6d1a090 /configure.in
parent972f26a10e5f0bacf12b2df2e9a00896b007e600 (diff)
enable debug
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 3577f40..1062f89 100644
--- a/configure.in
+++ b/configure.in
@@ -6,5 +6,8 @@ AM_INIT_AUTOMAKE(ext4magic, 0.1.2)
AC_LANG_C
AC_PROG_CC
AM_PROG_LIBTOOL
+AC_ARG_ENABLE(debug,[ --enable-debug Turn on debugging ],
+ [if test "$GCC" = "yes"; then CPPFLAGS="$CPPFLAGS -DDEBUG"; fi])
+
AC_OUTPUT(Makefile src/Makefile)