[gnome-packagekit] Get rid of some compile options we never use
- From: Richard Hughes <rhughes src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-packagekit] Get rid of some compile options we never use
- Date: Mon, 3 Aug 2009 11:50:01 +0000 (UTC)
commit 937a0988b31c58070346ec3be4e2b94365d07330
Author: Richard Hughes <richard hughsie com>
Date: Mon Aug 3 12:09:27 2009 +0100
Get rid of some compile options we never use
configure.ac | 37 -------------------------------------
1 files changed, 0 insertions(+), 37 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 83ebfda..07a9bf5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -211,40 +211,6 @@ if test x$enable_tests = xyes; then
fi
dnl ---------------------------------------------------------------------------
-dnl - Other tests
-dnl ---------------------------------------------------------------------------
-AC_ARG_ENABLE(gcov, AS_HELP_STRING([--enable-gcov],[compile with coverage profiling instrumentation (gcc only)]),
- enable_gcov=$enableval,enable_gcov=no)
-AC_ARG_ENABLE(gprof, AS_HELP_STRING([--enable-gprof],[compile with gprof support (gcc only)]),
- enable_gprof=$enableval,enable_gprof=no)
-
-if test x$enable_gcov = xyes; then
- ## so that config.h changes when you toggle gcov support
- AC_DEFINE_UNQUOTED(PK_BUILD_GCOV, 1, [Defined if gcov is enabled to force a rebuild due to config.h changing])
-
- AC_MSG_CHECKING([for gcc 3.3 version of gcov file format])
- have_gcc33_gcov=no
- AC_RUN_IFELSE( [AC_LANG_PROGRAM( , [[ if (__GNUC__ >=3 && __GNUC_MINOR__ >= 3) exit (0); else exit (1); ]])],
- have_gcc33_gcov=yes)
- if test x$have_gcc33_gcov = xyes ; then
- AC_DEFINE_UNQUOTED(PK_HAVE_GCC33_GCOV, 1, [Defined if we have gcc 3.3 and thus the new gcov format])
- fi
- CFLAGS="$CFLAGS -fprofile-arcs -ftest-coverage"
- AC_MSG_RESULT($have_gcc33_gcov)
-fi
-AM_CONDITIONAL(PK_BUILD_GCOV, test x$enable_gcov = xyes)
-
-if test x$enable_gprof = xyes; then
- ## so that config.h changes when you toggle gprof support
- AC_DEFINE_UNQUOTED(PK_BUILD_GPROF, 1, [Defined if gprof is enabled to force a rebuild due to config.h changing])
- CPPFLAGS="$CPPFLAGS -pg"
- LDFLAGS="$LDFLAGS -pg"
- CFLAGS="$CFLAGS -fprofile-arcs -ftest-coverage"
- AC_MSG_RESULT($enable_gprof)
-fi
-AM_CONDITIONAL(PK_BUILD_GPROF, test x$enable_gprof = xyes)
-
-dnl ---------------------------------------------------------------------------
dnl - Makefiles, etc.
dnl ---------------------------------------------------------------------------
AC_OUTPUT([
@@ -285,10 +251,7 @@ echo "
gnome-packagekit $VERSION
=============================
- GCC coverage profiling: ${enable_gcov}
- GCC time profiling: ${enable_gprof}
prefix: ${prefix}
- datadir: ${datadir}
compiler: ${CC}
cflags: ${CFLAGS}
cppflags: ${CPPFLAGS}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]