~ubuntu-branches/ubuntu/trusty/tomahawk/trusty-proposed

« back to all changes in this revision

Viewing changes to thirdparty/breakpad/third_party/glog/m4/using_operator.m4

  • Committer: Package Import Robot
  • Author(s): Harald Sitter
  • Date: 2013-03-07 23:40:27 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20130307234027-1jc3yomfdliyapta
Tags: 0.6.0+dfsg1-0ubuntu1
Reduce dfsg stripping to fix build (source remains still DFSG compliant)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
AC_DEFUN([AC_CXX_USING_OPERATOR],
 
2
  [AC_CACHE_CHECK(
 
3
      whether compiler supports using ::operator<<,
 
4
      ac_cv_cxx_using_operator,
 
5
      [AC_LANG_SAVE
 
6
       AC_LANG_CPLUSPLUS
 
7
       AC_TRY_COMPILE([#include <iostream>
 
8
                       std::ostream& operator<<(std::ostream&, struct s);],
 
9
                      [using ::operator<<; return 0;],
 
10
                      ac_cv_cxx_using_operator=1,
 
11
                      ac_cv_cxx_using_operator=0)
 
12
      AC_LANG_RESTORE])
 
13
  if test "$ac_cv_cxx_using_operator" = 1; then
 
14
    AC_DEFINE(HAVE_USING_OPERATOR, 1, [define if the compiler supports using expression for operator])
 
15
  fi])