[gnome-builder] build: set enable_profiling=no when not provided
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] build: set enable_profiling=no when not provided
- Date: Thu, 21 May 2015 21:53:41 +0000 (UTC)
commit 1edcff5e79136f3d154207ec909dfa93110ff630
Author: Christian Hergert <christian hergert me>
Date: Thu May 21 14:53:36 2015 -0700
build: set enable_profiling=no when not provided
configure.ac | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 3b263f7..1adb4b6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -339,7 +339,8 @@ AC_MSG_CHECKING([for --enable-profiling])
AC_ARG_ENABLE(profiling,
AC_HELP_STRING([--enable-profiling],
[turn on runtime instrumentation [default=no]]),
- [enable_profiling=$enableval])
+ [enable_profiling=$enableval],
+ [enable_profiling=no])
AS_IF([test "$enable_profiling" = "yes"],[
ac_save_cflags="$CFLAGS"
CFLAGS="$CFLAGS -pg"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]