1530.2.1
by Monty Taylor
Updated pandora-build files to version 0.127 |
1 |
# =========================================================================== |
2 |
# http://autoconf-archive.cryp.to/ac_cxx_header_stdcxx_98.html |
|
3 |
# =========================================================================== |
|
4 |
#
|
|
5 |
# SYNOPSIS |
|
6 |
#
|
|
7 |
# AC_CXX_HEADER_STDCXX_98 |
|
8 |
#
|
|
9 |
# DESCRIPTION |
|
10 |
#
|
|
11 |
# Check for complete library coverage of the C++1998/2003 standard. |
|
12 |
#
|
|
13 |
# LICENSE |
|
14 |
#
|
|
1999.6.1
by kalebral at gmail
update Copyright strings to a more common format to help with creating the master debian copyright file |
15 |
# Copyright (C) 2008 Benjamin Kosnik <bkoz@redhat.com> |
1530.2.1
by Monty Taylor
Updated pandora-build files to version 0.127 |
16 |
#
|
17 |
# Copying and distribution of this file, with or without modification, are |
|
18 |
# permitted in any medium without royalty provided the copyright notice |
|
19 |
# and this notice are preserved. |
|
236.1.10
by Monty Taylor
Changed C++ check to actually check for CXX98 instead (since the plain C++ check can't be trusted) |
20 |
|
21 |
AC_DEFUN([AC_CXX_HEADER_STDCXX_98], [ |
|
22 |
AC_CACHE_CHECK(for ISO C++ 98 include files,
|
|
23 |
ac_cv_cxx_stdcxx_98,
|
|
1530.2.1
by Monty Taylor
Updated pandora-build files to version 0.127 |
24 |
[AC_LANG_SAVE
|
25 |
AC_LANG_CPLUSPLUS
|
|
236.1.10
by Monty Taylor
Changed C++ check to actually check for CXX98 instead (since the plain C++ check can't be trusted) |
26 |
AC_TRY_COMPILE([
|
27 |
#include <cassert>
|
|
28 |
#include <cctype>
|
|
29 |
#include <cerrno>
|
|
30 |
#include <cfloat>
|
|
31 |
#include <ciso646>
|
|
32 |
#include <climits>
|
|
33 |
#include <clocale>
|
|
34 |
#include <cmath>
|
|
35 |
#include <csetjmp>
|
|
36 |
#include <csignal>
|
|
37 |
#include <cstdarg>
|
|
38 |
#include <cstddef>
|
|
39 |
#include <cstdio>
|
|
40 |
#include <cstdlib>
|
|
41 |
#include <cstring>
|
|
42 |
#include <ctime>
|
|
43 |
||
44 |
#include <algorithm>
|
|
45 |
#include <bitset>
|
|
46 |
#include <complex>
|
|
47 |
#include <deque>
|
|
48 |
#include <exception>
|
|
49 |
#include <fstream>
|
|
50 |
#include <functional>
|
|
51 |
#include <iomanip>
|
|
52 |
#include <ios>
|
|
53 |
#include <iosfwd>
|
|
54 |
#include <iostream>
|
|
55 |
#include <istream>
|
|
56 |
#include <iterator>
|
|
57 |
#include <limits>
|
|
58 |
#include <list>
|
|
59 |
#include <locale>
|
|
60 |
#include <map>
|
|
61 |
#include <memory>
|
|
62 |
#include <new>
|
|
63 |
#include <numeric>
|
|
64 |
#include <ostream>
|
|
65 |
#include <queue>
|
|
66 |
#include <set>
|
|
67 |
#include <sstream>
|
|
68 |
#include <stack>
|
|
69 |
#include <stdexcept>
|
|
70 |
#include <streambuf>
|
|
71 |
#include <string>
|
|
72 |
#include <typeinfo>
|
|
73 |
#include <utility>
|
|
74 |
#include <valarray>
|
|
75 |
#include <vector>
|
|
76 |
],, |
|
77 |
ac_cv_cxx_stdcxx_98=yes, ac_cv_cxx_stdcxx_98=no) |
|
1530.2.1
by Monty Taylor
Updated pandora-build files to version 0.127 |
78 |
AC_LANG_RESTORE |
236.1.10
by Monty Taylor
Changed C++ check to actually check for CXX98 instead (since the plain C++ check can't be trusted) |
79 |
]) |
80 |
if test "$ac_cv_cxx_stdcxx_98" = yes; then |
|
81 |
AC_DEFINE(STDCXX_98_HEADERS,,[Define if ISO C++ 1998 header files are present. ]) |
|
82 |
fi |
|
83 |
]) |