~ubuntu-branches/ubuntu/oneiric/squid3/oneiric-security

« back to all changes in this revision

Viewing changes to lib/cppunit-1.10.0/config/ac_cxx_have_sstream.m4

  • Committer: Bazaar Package Importer
  • Author(s): Luigi Gangitano
  • Date: 2007-05-13 16:03:16 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20070513160316-2h6kn6h1z0q1fvyo
Tags: 3.0.PRE6-1
* New upstream release
  - Removed patches integrated upsteam:
    + 04-m68k-ftbfs

* debian/rules
  - Enable delay pools (Closes: #410785)
  - Enable cache digests (Closes: #416631)
  - Enable ICAP client
  - Raised Max Filedescriptor limit to 65536

* debian/control
  - Added real package dependency for httpd in squid3-cgi

* debian/patches/02-makefile-defaults
  - Fix default configuration file for cachemgr.cgi (Closes: #416630)

* debian/squid3.postinst
  - Fixed bashish in postinst (Closes: #411797)

* debian/patches/05-helpers-typo
  - Added upstream patch fixing compilation error in src/helpers.cc

* debian/patches/06-mem-obj-reference
  - Added upstream patch fixing a mem_obj reference in src/store.cc

* debian/patches/07-close-icap-connections
  - Added upstream patch fixing icap connection starvation

* debian/squid3.rc
  - Added LSB-compliant description to rc script

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
dnl @synopsis AC_CXX_HAVE_SSTREAM
2
 
dnl
3
 
dnl If the C++ library has a working stringstream, define HAVE_SSTREAM.
4
 
dnl
5
 
dnl @author Ben Stanley
6
 
dnl @version $Id: ac_cxx_have_sstream.m4,v 1.1 2004/08/24 00:21:09 robertc Exp $
7
 
dnl
8
 
AC_DEFUN([AC_CXX_HAVE_SSTREAM],
9
 
[AC_CACHE_CHECK(whether the compiler has stringstream,
10
 
ac_cv_cxx_have_sstream,
11
 
[AC_REQUIRE([AC_CXX_NAMESPACES])
12
 
 AC_LANG_SAVE
13
 
 AC_LANG_CPLUSPLUS
14
 
 AC_TRY_COMPILE([#include <sstream>
15
 
#ifdef HAVE_NAMESPACES
16
 
using namespace std;
17
 
#endif],[stringstream message; message << "Hello"; return 0;],
18
 
 ac_cv_cxx_have_sstream=yes, ac_cv_cxx_have_sstream=no)
19
 
 AC_LANG_RESTORE
20
 
])
21
 
if test "$ac_cv_cxx_have_sstream" = yes; then
22
 
  AC_DEFINE(HAVE_SSTREAM,1,[define if the compiler has stringstream])
23
 
fi
24
 
])