[nautilus] build: remove unused --enable-profiler build option



commit df6a0a0a1e721142b1be5338fcad2cc0248fdf1e
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Mon Mar 12 17:20:50 2012 -0400

    build: remove unused --enable-profiler build option
    
    It's unused.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=661632

 configure.in |   20 --------------------
 1 files changed, 0 insertions(+), 20 deletions(-)
---
diff --git a/configure.in b/configure.in
index 16f5e95..6c8bab3 100644
--- a/configure.in
+++ b/configure.in
@@ -68,25 +68,6 @@ GTK_DOC_CHECK([1.4])
 
 dnl ==========================================================================
 
-ENABLE_PROFILER=
-AC_ARG_ENABLE(profiler,
- AC_HELP_STRING([--enable-profiler], [Enable profiler]),
- [ENABLE_PROFILER=1
-  AC_DEFINE(ENABLE_PROFILER, 1, [define to enable the profiler])])
-
-profiling_support=off
-if test "x$ENABLE_PROFILER" = "x1"
-then
-	CFLAGS="-g -O -gdwarf-2 -finstrument-functions -D__NO_STRING_INLINES $CFLAGS"
-	LDFLAGS="/gnome/GNOME2/lib/libprofiler.so -lpthread $LDFLAGS"
-	profiling_support=on
-fi
-
-AC_SUBST(ENABLE_PROFILER)
-AM_CONDITIONAL(ENABLE_PROFILER, test "x$ENABLE_PROFILER" = "x1")
-
-dnl ==========================================================================
-
 AC_ARG_ENABLE(debug,
   AC_HELP_STRING([--disable-debug],[Disable debugging code]),
   [
@@ -387,7 +368,6 @@ nautilus-$VERSION:
 	nautilus-sendto ext:	$enable_nst_extension
 	Tracker support:	$build_tracker
 
-	profiling support:      ${profiling_support}
         debugging support:      ${enable_debug}
 	nautilus-extension documentation: ${enable_gtk_doc}
 	nautilus-extension introspection: ${found_introspection}



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