summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2014-10-05 21:05:44 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2014-10-05 21:05:44 +0200
commit0ecfeb2d7a2d2a4b5bb315fdd2b3303d300def78 (patch)
treeb4888aabb6c0317da371187007dfdcfdd6582301 /configure.ac
parentb33e5589c6cb696ab5d21907460a35a6c2bb01eb (diff)
configure: new option --enable-gprof
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac9
1 files changed, 8 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index af293af..b73c6a0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4,7 +4,7 @@
AC_PREREQ([2.59])
AC_INIT([testdisk],[7.0-WIP],[grenier@cgsecurity.org])
sinclude(acx_pthread.m4)
-TESTDISKDATE="August 2014"
+TESTDISKDATE="October 2014"
AC_SUBST(TESTDISKDATE)
AC_DEFINE_UNQUOTED([TESTDISKDATE],"$TESTDISKDATE",[Date of release])
AC_CONFIG_AUX_DIR(config)
@@ -272,6 +272,13 @@ AC_ARG_ENABLE(coverage,
esac],
[coverage_flags=""])
+AC_ARG_ENABLE(gprof,
+ AS_HELP_STRING([--enable-gprof],
+ [Produce gprof profiling data in 'gmon.out' (GCC only).]),
+[if test "$enableval" = "yes" ; then
+ coverage_flags="$coverage_flags -pg"
+fi])
+
use_icon=no
case "$target" in