summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2011-11-15 07:16:09 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2011-11-15 07:16:09 +0100
commit681a2531a2229c23e10275f8ee566201a729a3e1 (patch)
treecccf7cc7b2cc1f36d53a08f5025414ce349b3d56 /configure.ac
parente97359ef26949b69100d3c180f9b2852b706b9b2 (diff)
Use "./configure --disable-dfxml" to disable DFXML feature
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac11
1 files changed, 10 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index df59143..187a7f9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4,7 +4,7 @@
AC_PREREQ([2.59])
AC_INIT([testdisk],[6.13-WIP],[grenier@cgsecurity.org])
sinclude(acx_pthread.m4)
-TESTDISKDATE="May 2011"
+TESTDISKDATE="November 2011"
AC_SUBST(TESTDISKDATE)
AC_DEFINE_UNQUOTED([TESTDISKDATE],"$TESTDISKDATE",[Date of release])
AC_CONFIG_AUX_DIR(config)
@@ -211,6 +211,15 @@ AC_ARG_ENABLE([ncmouse],
esac],
[use_ncmouse=false])
+AC_ARG_ENABLE([dfxml],
+ AS_HELP_STRING(--disable-dfxml),
+ [case "${enableval}" in
+ yes) AC_DEFINE([ENABLE_DFXML],1,[Define to 1 if DFXML log is enabled]) ;;
+ no) ;;
+ *) AC_MSG_ERROR([bad value ${enableval} for --enable-dfxml]) ;;
+ esac],
+ [AC_DEFINE([ENABLE_DFXML],1,[Define to 1 if DFXML log is enabled])])
+
use_icon=no
case "$target" in