~ubuntu-branches/ubuntu/jaunty/google-perftools/jaunty

« back to all changes in this revision

Viewing changes to m4/namespaces.m4

  • Committer: Bazaar Package Importer
  • Author(s): Daigo Moriwaki
  • Date: 2008-06-15 23:41:36 UTC
  • mfrom: (3.1.1 sid)
  • Revision ID: james.westby@ubuntu.com-20080615234136-al5gawvdvt5vhdtz
Tags: 0.98-1
* New upstream release. (Closes: #425147)
* Compiled with GCC 4.3. (Closes: #454841)
* debian/watch: can now report upstream's version (Closes: #450294)
* Because of a file conflict between tau and libgoogle-perftools the
  binary pprof is renamed as google-pprof. (Closes: #404001)
  Great thanks to Michael Mende.
* debian/rules: autoconf files are now generated at the build time.
* Bumped up Standards-Version to 3.7.3, no changes are required.
* Split a new package, libtcmallc_minimal0. The upstream supports
  this module for wider platforms. So I leave its architecture to be
  `any'.
* libgoogle-perftools0's architecture is now i386. The upstream
  supports this module for x86 and x86_64. However, x86_64 requires
  libunwind's development head, which Debian does not have yet.
* Removed an unnecessary patch, debian/patches/02_profiler.cc_alpha.diff.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Checks whether the compiler implements namespaces
 
2
AC_DEFUN([AC_CXX_NAMESPACES],
 
3
 [AC_CACHE_CHECK(whether the compiler implements namespaces,
 
4
                 ac_cv_cxx_namespaces,
 
5
                 [AC_LANG_SAVE
 
6
                  AC_LANG_CPLUSPLUS
 
7
                  AC_TRY_COMPILE([namespace Outer {
 
8
                                    namespace Inner { int i = 0; }}],
 
9
                                 [using namespace Outer::Inner; return i;],
 
10
                                 ac_cv_cxx_namespaces=yes,
 
11
                                 ac_cv_cxx_namespaces=no)
 
12
                  AC_LANG_RESTORE])
 
13
  if test "$ac_cv_cxx_namespaces" = yes; then
 
14
    AC_DEFINE(HAVE_NAMESPACES, 1, [define if the compiler implements namespaces])
 
15
  fi])