acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): If we can use -fdiagnostics-show-location=once, do so.
2000-05-24 Phil Edwards <pme@sourceware.cygnus.com> * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): If we can use -fdiagnostics-show-location=once, do so. Expand AC_LANG_* to enclose other tests in this macro, including future ones. * aclocal.m4: Regenerate. * configure: Regenerate. * docs/faq/index.html: Update location of libg++ FAQ. * docs/faq/index.txt: Regenerate. From-SVN: r34137
This commit is contained in:
parent
88903d85bc
commit
a4e990461d
6 changed files with 392 additions and 264 deletions
|
@ -1,3 +1,14 @@
|
|||
2000-05-24 Phil Edwards <pme@sourceware.cygnus.com>
|
||||
|
||||
* acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): If we can use
|
||||
-fdiagnostics-show-location=once, do so. Expand AC_LANG_* to
|
||||
enclose other tests in this macro, including future ones.
|
||||
* aclocal.m4: Regenerate.
|
||||
* configure: Regenerate.
|
||||
|
||||
* docs/faq/index.html: Update location of libg++ FAQ.
|
||||
* docs/faq/index.txt: Regenerate.
|
||||
|
||||
2000-05-22 Benjamin Kosnik <bkoz@purist.redhat.soma.com>
|
||||
|
||||
* docs/17_intro/libstdc++-assign.txt: Change Cygnus to FSF.
|
||||
|
|
|
@ -159,10 +159,21 @@ dnl specific precautions need to be taken.
|
|||
dnl
|
||||
dnl Define OPTLEVEL='-O2' if new inlining code present.
|
||||
dnl Define WERROR='-Werror' if possible; g++'s that lack the new inlining
|
||||
dnl code or the new system_header pragma will die.
|
||||
dnl code or the new system_header pragma will die. Other options dealing
|
||||
dnl with warnings, errors, and compiler complaints may be folded into
|
||||
dnl the WERROR variable.
|
||||
dnl
|
||||
dnl GLIBCPP_CHECK_COMPILER_VERSION
|
||||
AC_DEFUN(GLIBCPP_CHECK_COMPILER_VERSION, [
|
||||
# All these tests are for C++; save the language and the compiler flags.
|
||||
# The CXXFLAGS thing is suspicious, but based on similar bits
|
||||
# found in GLIBCPP_CONFIGURE.
|
||||
AC_LANG_SAVE
|
||||
AC_LANG_CPLUSPLUS
|
||||
ac_test_CXXFLAGS="${CXXFLAGS+set}"
|
||||
ac_save_CXXFLAGS="$CXXFLAGS"
|
||||
WERROR='-Werror'
|
||||
|
||||
AC_MSG_CHECKING([for g++ that will successfullly compile this code])
|
||||
AC_EGREP_CPP([ok], [
|
||||
#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
|
||||
|
@ -171,14 +182,7 @@ AC_DEFUN(GLIBCPP_CHECK_COMPILER_VERSION, [
|
|||
], gpp_satisfactory=yes, AC_MSG_ERROR("please upgrade to gcc-2.95 or above"))
|
||||
AC_MSG_RESULT($gpp_satisfactory)
|
||||
|
||||
WERROR='-Werror'
|
||||
AC_MSG_CHECKING([for g++ that supports new system_header pragma])
|
||||
AC_LANG_SAVE
|
||||
AC_LANG_CPLUSPLUS
|
||||
# the CXXFLAGS thing is suspicious, but based on similar
|
||||
# bits in GLIBCPP_CONFIGURE
|
||||
ac_test_CXXFLAGS="${CXXFLAGS+set}"
|
||||
ac_save_CXXFLAGS="$CXXFLAGS"
|
||||
CXXFLAGS='-Wunknown-pragmas -Werror'
|
||||
AC_TRY_COMPILE([#pragma system_header], [int foo;
|
||||
], [ac_newpragma=yes], [ac_newpragma=no])
|
||||
|
@ -188,12 +192,26 @@ AC_DEFUN(GLIBCPP_CHECK_COMPILER_VERSION, [
|
|||
# this is the suspicious part
|
||||
CXXFLAGS=''
|
||||
fi
|
||||
AC_LANG_RESTORE
|
||||
if test "$ac_newpragma" = "no"; then
|
||||
WERROR="$WERROR -Wno-unknown-pragmas"
|
||||
fi
|
||||
AC_MSG_RESULT($ac_newpragma)
|
||||
|
||||
AC_MSG_CHECKING([for g++ that supports new warning options])
|
||||
CXXFLAGS='-fdiagnostics-show-location=once'
|
||||
AC_TRY_COMPILE(, [int foo;
|
||||
], [ac_gabydiags=yes], [ac_gabydiags=no])
|
||||
if test "$ac_test_CXXFLAGS" = set; then
|
||||
CXXFLAGS="$ac_save_CXXFLAGS"
|
||||
else
|
||||
# this is the suspicious part
|
||||
CXXFLAGS=''
|
||||
fi
|
||||
if test "$ac_gabydiags" = "yes"; then
|
||||
WERROR="$WERROR -fdiagnostics-show-location=once"
|
||||
fi
|
||||
AC_MSG_RESULT($ac_gabydiags)
|
||||
|
||||
AC_MSG_CHECKING([for g++ that supports new inlining mechanism])
|
||||
AC_EGREP_CPP([ok], [
|
||||
#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ > 95)
|
||||
|
@ -208,6 +226,7 @@ AC_DEFUN(GLIBCPP_CHECK_COMPILER_VERSION, [
|
|||
AC_MSG_RESULT(yes)
|
||||
fi
|
||||
|
||||
AC_LANG_RESTORE
|
||||
AC_SUBST(OPTLEVEL)
|
||||
AC_SUBST(WERROR)
|
||||
])
|
||||
|
|
37
libstdc++-v3/aclocal.m4
vendored
37
libstdc++-v3/aclocal.m4
vendored
|
@ -171,10 +171,21 @@ dnl specific precautions need to be taken.
|
|||
dnl
|
||||
dnl Define OPTLEVEL='-O2' if new inlining code present.
|
||||
dnl Define WERROR='-Werror' if possible; g++'s that lack the new inlining
|
||||
dnl code or the new system_header pragma will die.
|
||||
dnl code or the new system_header pragma will die. Other options dealing
|
||||
dnl with warnings, errors, and compiler complaints may be folded into
|
||||
dnl the WERROR variable.
|
||||
dnl
|
||||
dnl GLIBCPP_CHECK_COMPILER_VERSION
|
||||
AC_DEFUN(GLIBCPP_CHECK_COMPILER_VERSION, [
|
||||
# All these tests are for C++; save the language and the compiler flags.
|
||||
# The CXXFLAGS thing is suspicious, but based on similar bits
|
||||
# found in GLIBCPP_CONFIGURE.
|
||||
AC_LANG_SAVE
|
||||
AC_LANG_CPLUSPLUS
|
||||
ac_test_CXXFLAGS="${CXXFLAGS+set}"
|
||||
ac_save_CXXFLAGS="$CXXFLAGS"
|
||||
WERROR='-Werror'
|
||||
|
||||
AC_MSG_CHECKING([for g++ that will successfullly compile this code])
|
||||
AC_EGREP_CPP([ok], [
|
||||
#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
|
||||
|
@ -183,14 +194,7 @@ AC_DEFUN(GLIBCPP_CHECK_COMPILER_VERSION, [
|
|||
], gpp_satisfactory=yes, AC_MSG_ERROR("please upgrade to gcc-2.95 or above"))
|
||||
AC_MSG_RESULT($gpp_satisfactory)
|
||||
|
||||
WERROR='-Werror'
|
||||
AC_MSG_CHECKING([for g++ that supports new system_header pragma])
|
||||
AC_LANG_SAVE
|
||||
AC_LANG_CPLUSPLUS
|
||||
# the CXXFLAGS thing is suspicious, but based on similar
|
||||
# bits in GLIBCPP_CONFIGURE
|
||||
ac_test_CXXFLAGS="${CXXFLAGS+set}"
|
||||
ac_save_CXXFLAGS="$CXXFLAGS"
|
||||
CXXFLAGS='-Wunknown-pragmas -Werror'
|
||||
AC_TRY_COMPILE([#pragma system_header], [int foo;
|
||||
], [ac_newpragma=yes], [ac_newpragma=no])
|
||||
|
@ -200,12 +204,26 @@ AC_DEFUN(GLIBCPP_CHECK_COMPILER_VERSION, [
|
|||
# this is the suspicious part
|
||||
CXXFLAGS=''
|
||||
fi
|
||||
AC_LANG_RESTORE
|
||||
if test "$ac_newpragma" = "no"; then
|
||||
WERROR="$WERROR -Wno-unknown-pragmas"
|
||||
fi
|
||||
AC_MSG_RESULT($ac_newpragma)
|
||||
|
||||
AC_MSG_CHECKING([for g++ that supports new warning options])
|
||||
CXXFLAGS='-fdiagnostics-show-location=once'
|
||||
AC_TRY_COMPILE(, [int foo;
|
||||
], [ac_gabydiags=yes], [ac_gabydiags=no])
|
||||
if test "$ac_test_CXXFLAGS" = set; then
|
||||
CXXFLAGS="$ac_save_CXXFLAGS"
|
||||
else
|
||||
# this is the suspicious part
|
||||
CXXFLAGS=''
|
||||
fi
|
||||
if test "$ac_gabydiags" = "yes"; then
|
||||
WERROR="$WERROR -fdiagnostics-show-location=once"
|
||||
fi
|
||||
AC_MSG_RESULT($ac_gabydiags)
|
||||
|
||||
AC_MSG_CHECKING([for g++ that supports new inlining mechanism])
|
||||
AC_EGREP_CPP([ok], [
|
||||
#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ > 95)
|
||||
|
@ -220,6 +238,7 @@ AC_DEFUN(GLIBCPP_CHECK_COMPILER_VERSION, [
|
|||
AC_MSG_RESULT(yes)
|
||||
fi
|
||||
|
||||
AC_LANG_RESTORE
|
||||
AC_SUBST(OPTLEVEL)
|
||||
AC_SUBST(WERROR)
|
||||
])
|
||||
|
|
481
libstdc++-v3/configure
vendored
481
libstdc++-v3/configure
vendored
File diff suppressed because it is too large
Load diff
|
@ -13,7 +13,7 @@
|
|||
** Locations of "the most recent snapshot is the Nth" text are
|
||||
** answers 1_1, 1_4, 4_1, 5_6.
|
||||
-->
|
||||
<!-- $Id: index.html,v 1.1 2000/04/21 20:33:32 bkoz Exp $ -->
|
||||
<!-- $Id: index.html,v 1.2 2000/05/03 16:11:02 pme Exp $ -->
|
||||
</HEAD>
|
||||
<BODY>
|
||||
|
||||
|
@ -214,7 +214,7 @@ HREF="ftp://sourceware.cygnus.com/pub/libstdc++/libstdc++-2.90.8.tar.gz">
|
|||
stuff" classes will probably migrate there.)
|
||||
</P>
|
||||
<P>For the bold and/or desperate, the
|
||||
<A HREF="http://gcc.gnu.org/faq.html#libg++">GCC FAQ</A>
|
||||
<A HREF="http://gcc.gnu.org/fom_serv/cache/33.html">GCC FAQ</A>
|
||||
describes where to find the last libg++ source.
|
||||
</P>
|
||||
|
||||
|
@ -645,7 +645,7 @@ HREF="http://sourceware.cygnus.com/ml/libstdc++/1999/msg00084.html">speculation<
|
|||
Comments and suggestions are welcome, and may be sent to
|
||||
<A HREF="mailto:pme@sourceware.cygnus.com">Phil Edwards</A> or
|
||||
<A HREF="mailto:gdr@egcs.cygnus.com">Gabriel Dos Reis</A>.
|
||||
<BR> $Id: index.html,v 1.1 2000/04/21 20:33:32 bkoz Exp $
|
||||
<BR> $Id: index.html,v 1.2 2000/05/03 16:11:02 pme Exp $
|
||||
</EM></P>
|
||||
|
||||
|
||||
|
|
|
@ -521,62 +521,62 @@ count(struct __rb_tree_node_base *, struct __rb_tree_node_base *)'
|
|||
|
||||
Comments and suggestions are welcome, and may be sent to [71]Phil
|
||||
Edwards or [72]Gabriel Dos Reis.
|
||||
$Id: index.html,v 1.1 2000/04/21 20:33:32 bkoz Exp $
|
||||
$Id: index.html,v 1.2 2000/05/03 16:11:02 pme Exp $
|
||||
|
||||
References
|
||||
|
||||
1. http://sourceware.cygnus.com/libstdc++/
|
||||
2. http://sourceware.cygnus.com/libstdc++/faq/index.html
|
||||
3. file://localhost/home0/pedwards/src/egcsworking/libstdc++-v3/docs/index.html
|
||||
4. file://localhost/home0/pedwards/src/egcsworking/libstdc++-v3/docs/faq/index.html#1_0
|
||||
5. file://localhost/home0/pedwards/src/egcsworking/libstdc++-v3/docs/faq/index.html#1_1
|
||||
6. file://localhost/home0/pedwards/src/egcsworking/libstdc++-v3/docs/faq/index.html#1_2
|
||||
7. file://localhost/home0/pedwards/src/egcsworking/libstdc++-v3/docs/faq/index.html#1_3
|
||||
8. file://localhost/home0/pedwards/src/egcsworking/libstdc++-v3/docs/faq/index.html#1_4
|
||||
9. file://localhost/home0/pedwards/src/egcsworking/libstdc++-v3/docs/faq/index.html#1_5
|
||||
10. file://localhost/home0/pedwards/src/egcsworking/libstdc++-v3/docs/faq/index.html#1_6
|
||||
11. file://localhost/home0/pedwards/src/egcsworking/libstdc++-v3/docs/faq/index.html#1_7
|
||||
12. file://localhost/home0/pedwards/src/egcsworking/libstdc++-v3/docs/faq/index.html#1_8
|
||||
13. file://localhost/home0/pedwards/src/egcsworking/libstdc++-v3/docs/faq/index.html#2_0
|
||||
14. file://localhost/home0/pedwards/src/egcsworking/libstdc++-v3/docs/faq/index.html#2_1
|
||||
15. file://localhost/home0/pedwards/src/egcsworking/libstdc++-v3/docs/faq/index.html#2_2
|
||||
16. file://localhost/home0/pedwards/src/egcsworking/libstdc++-v3/docs/faq/index.html#2_3
|
||||
17. file://localhost/home0/pedwards/src/egcsworking/libstdc++-v3/docs/faq/index.html#2_4
|
||||
18. file://localhost/home0/pedwards/src/egcsworking/libstdc++-v3/docs/faq/index.html#3_0
|
||||
19. file://localhost/home0/pedwards/src/egcsworking/libstdc++-v3/docs/faq/index.html#3_1
|
||||
20. file://localhost/home0/pedwards/src/egcsworking/libstdc++-v3/docs/faq/index.html#3_2
|
||||
21. file://localhost/home0/pedwards/src/egcsworking/libstdc++-v3/docs/faq/index.html#4_0
|
||||
22. file://localhost/home0/pedwards/src/egcsworking/libstdc++-v3/docs/faq/index.html#4_1
|
||||
23. file://localhost/home0/pedwards/src/egcsworking/libstdc++-v3/docs/faq/index.html#4_2
|
||||
24. file://localhost/home0/pedwards/src/egcsworking/libstdc++-v3/docs/faq/index.html#4_3
|
||||
25. file://localhost/home0/pedwards/src/egcsworking/libstdc++-v3/docs/faq/index.html#4_4
|
||||
26. file://localhost/home0/pedwards/src/egcsworking/libstdc++-v3/docs/faq/index.html#4_5
|
||||
27. file://localhost/home0/pedwards/src/egcsworking/libstdc++-v3/docs/faq/index.html#5_0
|
||||
28. file://localhost/home0/pedwards/src/egcsworking/libstdc++-v3/docs/faq/index.html#5_1
|
||||
29. file://localhost/home0/pedwards/src/egcsworking/libstdc++-v3/docs/faq/index.html#5_2
|
||||
30. file://localhost/home0/pedwards/src/egcsworking/libstdc++-v3/docs/faq/index.html#5_3
|
||||
31. file://localhost/home0/pedwards/src/egcsworking/libstdc++-v3/docs/faq/index.html#5_4
|
||||
32. file://localhost/home0/pedwards/src/egcsworking/libstdc++-v3/docs/faq/index.html#5_5
|
||||
33. file://localhost/home0/pedwards/src/egcsworking/libstdc++-v3/docs/faq/index.html#5_6
|
||||
34. file://localhost/home0/pedwards/src/egcsworking/libstdc++-v3/docs/faq/index.html#5_7
|
||||
3. file://localhost/home0/pedwards/src/egcs/libstdc++-v3/docs/index.html
|
||||
4. file://localhost/home0/pedwards/src/egcs/libstdc++-v3/docs/faq/index.html#1_0
|
||||
5. file://localhost/home0/pedwards/src/egcs/libstdc++-v3/docs/faq/index.html#1_1
|
||||
6. file://localhost/home0/pedwards/src/egcs/libstdc++-v3/docs/faq/index.html#1_2
|
||||
7. file://localhost/home0/pedwards/src/egcs/libstdc++-v3/docs/faq/index.html#1_3
|
||||
8. file://localhost/home0/pedwards/src/egcs/libstdc++-v3/docs/faq/index.html#1_4
|
||||
9. file://localhost/home0/pedwards/src/egcs/libstdc++-v3/docs/faq/index.html#1_5
|
||||
10. file://localhost/home0/pedwards/src/egcs/libstdc++-v3/docs/faq/index.html#1_6
|
||||
11. file://localhost/home0/pedwards/src/egcs/libstdc++-v3/docs/faq/index.html#1_7
|
||||
12. file://localhost/home0/pedwards/src/egcs/libstdc++-v3/docs/faq/index.html#1_8
|
||||
13. file://localhost/home0/pedwards/src/egcs/libstdc++-v3/docs/faq/index.html#2_0
|
||||
14. file://localhost/home0/pedwards/src/egcs/libstdc++-v3/docs/faq/index.html#2_1
|
||||
15. file://localhost/home0/pedwards/src/egcs/libstdc++-v3/docs/faq/index.html#2_2
|
||||
16. file://localhost/home0/pedwards/src/egcs/libstdc++-v3/docs/faq/index.html#2_3
|
||||
17. file://localhost/home0/pedwards/src/egcs/libstdc++-v3/docs/faq/index.html#2_4
|
||||
18. file://localhost/home0/pedwards/src/egcs/libstdc++-v3/docs/faq/index.html#3_0
|
||||
19. file://localhost/home0/pedwards/src/egcs/libstdc++-v3/docs/faq/index.html#3_1
|
||||
20. file://localhost/home0/pedwards/src/egcs/libstdc++-v3/docs/faq/index.html#3_2
|
||||
21. file://localhost/home0/pedwards/src/egcs/libstdc++-v3/docs/faq/index.html#4_0
|
||||
22. file://localhost/home0/pedwards/src/egcs/libstdc++-v3/docs/faq/index.html#4_1
|
||||
23. file://localhost/home0/pedwards/src/egcs/libstdc++-v3/docs/faq/index.html#4_2
|
||||
24. file://localhost/home0/pedwards/src/egcs/libstdc++-v3/docs/faq/index.html#4_3
|
||||
25. file://localhost/home0/pedwards/src/egcs/libstdc++-v3/docs/faq/index.html#4_4
|
||||
26. file://localhost/home0/pedwards/src/egcs/libstdc++-v3/docs/faq/index.html#4_5
|
||||
27. file://localhost/home0/pedwards/src/egcs/libstdc++-v3/docs/faq/index.html#5_0
|
||||
28. file://localhost/home0/pedwards/src/egcs/libstdc++-v3/docs/faq/index.html#5_1
|
||||
29. file://localhost/home0/pedwards/src/egcs/libstdc++-v3/docs/faq/index.html#5_2
|
||||
30. file://localhost/home0/pedwards/src/egcs/libstdc++-v3/docs/faq/index.html#5_3
|
||||
31. file://localhost/home0/pedwards/src/egcs/libstdc++-v3/docs/faq/index.html#5_4
|
||||
32. file://localhost/home0/pedwards/src/egcs/libstdc++-v3/docs/faq/index.html#5_5
|
||||
33. file://localhost/home0/pedwards/src/egcs/libstdc++-v3/docs/faq/index.html#5_6
|
||||
34. file://localhost/home0/pedwards/src/egcs/libstdc++-v3/docs/faq/index.html#5_7
|
||||
35. ftp://sourceware.cygnus.com/pub/libstdc++/libstdc++-2.90.8.tar.gz
|
||||
36. file://localhost/home0/pedwards/src/egcsworking/libstdc++-v3/docs/17_intro/DESIGN
|
||||
36. file://localhost/home0/pedwards/src/egcs/libstdc++-v3/docs/17_intro/DESIGN
|
||||
37. http://gcc.gnu.org/
|
||||
38. http://gcc.gnu.org/gcc-2.95/buildstat.html
|
||||
39. file://localhost/home0/pedwards/src/egcsworking/libstdc++-v3/docs/index.html
|
||||
39. file://localhost/home0/pedwards/src/egcs/libstdc++-v3/docs/index.html
|
||||
40. ftp://sourceware.cygnus.com/pub/libstdc++/libstdc++-2.90.8.tar.gz
|
||||
41. file://localhost/home0/pedwards/src/egcsworking/libstdc++-v3/docs/index.html
|
||||
41. file://localhost/home0/pedwards/src/egcs/libstdc++-v3/docs/index.html
|
||||
42. http://www.deja.com/getdoc.xp?AN=469581698&fmt=text
|
||||
43. file://localhost/home0/pedwards/src/egcsworking/libstdc++-v3/docs/17_intro/contribute.html
|
||||
43. file://localhost/home0/pedwards/src/egcs/libstdc++-v3/docs/17_intro/contribute.html
|
||||
44. http://www.boost.org/
|
||||
45. http://gcc.gnu.org/faq.html#libg++
|
||||
45. http://gcc.gnu.org/fom_serv/cache/33.html
|
||||
46. mailto:libstdc++@sourceware.cygnus.com
|
||||
47. mailto:pme@sourceware.cygnus.com
|
||||
48. mailto:gdr@egcs.cygnus.com
|
||||
49. http://sourceware.cygnus.com/autoconf/
|
||||
50. http://sourceware.cygnus.com/automake/
|
||||
51. file://localhost/home0/pedwards/src/egcsworking/libstdc++-v3/docs/documentation.html
|
||||
52. file://localhost/home0/pedwards/src/egcsworking/libstdc++-v3/docs/17_intro/RELEASE-NOTES
|
||||
51. file://localhost/home0/pedwards/src/egcs/libstdc++-v3/docs/documentation.html
|
||||
52. file://localhost/home0/pedwards/src/egcs/libstdc++-v3/docs/17_intro/RELEASE-NOTES
|
||||
53. http://www.gnu.org/software/cvs/cvs.html
|
||||
54. http://www.cyclic.com/
|
||||
55. http://www.xraylith.wisc.edu/~khan/software/gnu-win32/libstdc++-v3.html
|
||||
|
@ -584,8 +584,8 @@ References
|
|||
57. http://www.cantrip.org/draft-bugs.txt
|
||||
58. http://anubis.dkuug.dk/jtc1/sc22/wg21/
|
||||
59. http://gcc.gnu.org/contribute.html
|
||||
60. file://localhost/home0/pedwards/src/egcsworking/libstdc++-v3/docs/17_intro/contribute.html
|
||||
61. file://localhost/home0/pedwards/src/egcsworking/libstdc++-v3/docs/faq/index.html#2_4
|
||||
60. file://localhost/home0/pedwards/src/egcs/libstdc++-v3/docs/17_intro/contribute.html
|
||||
61. file://localhost/home0/pedwards/src/egcs/libstdc++-v3/docs/faq/index.html#2_4
|
||||
62. http://sourceware.cygnus.com/ml/libstdc++/1999/msg00080.html
|
||||
63. http://sourceware.cygnus.com/ml/libstdc++/1999/msg00084.html
|
||||
64. http://www.sgi.com/Technology/STL/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue