summaryrefslogtreecommitdiff
path: root/libstdc++-v3/aclocal.m4
diff options
context:
space:
mode:
authorbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>2001-06-12 23:00:39 +0000
committerbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>2001-06-12 23:00:39 +0000
commitc2f3d0d8d9835425bc5754dadde13eb03a6cf655 (patch)
tree1d3aadea19caea1a0bfc42a3b804e589bd6589fc /libstdc++-v3/aclocal.m4
parent67791935f050be205ac7c1e4aac251da15979caf (diff)
downloadgcc-c2f3d0d8d9835425bc5754dadde13eb03a6cf655.tar.gz
2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
libstdc++/3142 * include/bits/std_sstream.h: Add allocator_type, as per DR 251. libstdc++/3141 * include/bits/istream.tcc (getline, get): Fix as per DR 243. libstdc++/3140 * include/bits/std_bitset.h (bitset::set): Fix as per DR 186. libstdc++/3139 * include/bits/limits_generic.h: Fix as per DR 184. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43276 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/aclocal.m4')
-rw-r--r--libstdc++-v3/aclocal.m46
1 files changed, 3 insertions, 3 deletions
diff --git a/libstdc++-v3/aclocal.m4 b/libstdc++-v3/aclocal.m4
index 28752ba1082..d45ef73cef0 100644
--- a/libstdc++-v3/aclocal.m4
+++ b/libstdc++-v3/aclocal.m4
@@ -169,9 +169,9 @@ if test ! -f stamp-sanity-compiler; then
AC_MSG_CHECKING([for g++ that will successfully compile libstdc++-v3])
AC_LANG_SAVE
AC_LANG_CPLUSPLUS
- AC_EGREP_CPP(ok, [
- #if __GNUC__ >= 3
- ok
+ AC_TRY_COMPILE(, [
+ #if __GNUC__ < 3
+ not_ok
#endif
], gpp_satisfactory=yes, AC_MSG_ERROR([please upgrade to GCC 3.0 or above]))
AC_LANG_RESTORE