~chaffra/+junk/trilinos

« back to all changes in this revision

Viewing changes to packages/rtop/config/ac_cxx_namespaces.m4

  • Committer: Bazaar Package Importer
  • Author(s): Christophe Prud'homme, Christophe Prud'homme, Johannes Ring
  • Date: 2009-12-13 12:53:22 UTC
  • mfrom: (5.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20091213125322-in0nrdjc55deqsw9
Tags: 10.0.3.dfsg-1
[Christophe Prud'homme]
* New upstream release

[Johannes Ring]
* debian/patches/libname.patch: Add prefix 'libtrilinos_' to all
  libraries. 
* debian/patches/soname.patch: Add soversion to libraries.
* debian/watch: Update download URL.
* debian/control:
  - Remove python-numeric from Build-Depends (virtual package).
  - Remove automake and autotools from Build-Depends and add cmake to
    reflect switch to CMake.
  - Add python-support to Build-Depends.
* debian/rules: 
  - Cleanup and updates for switch to CMake.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
dnl @synopsis AC_CXX_NAMESPACES
2
 
dnl
3
 
dnl If the compiler can prevent names clashes using namespaces, define
4
 
dnl HAVE_NAMESPACES.
5
 
dnl
6
 
dnl @version $Id: ac_cxx_namespaces.m4,v 1.1 2006/02/02 18:08:58 rabartl Exp $
7
 
dnl @author Luc Maisonobe
8
 
dnl
9
 
AC_DEFUN([AC_CXX_NAMESPACES],
10
 
[AC_CACHE_CHECK(whether the compiler implements namespaces,
11
 
ac_cv_cxx_namespaces,
12
 
[AC_LANG_SAVE
13
 
 AC_LANG_CPLUSPLUS
14
 
 AC_TRY_COMPILE([namespace Outer { namespace Inner { int i = 0; }}],
15
 
                [using namespace Outer::Inner; return i;],
16
 
 ac_cv_cxx_namespaces=yes, ac_cv_cxx_namespaces=no)
17
 
 AC_LANG_RESTORE
18
 
])
19
 
if test "$ac_cv_cxx_namespaces" = yes; then
20
 
  AC_DEFINE(HAVE_NAMESPACES,,[define if the compiler implements namespaces])
21
 
fi
22
 
])