acinclude.m4 (GLIBCPP_CHECK_CTYPE): Tweaks to message texts for public relations purposes.
2000-10-05 Phil Edwards <pme@sources.redhat.com> * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Tweaks to message texts for public relations purposes. * aclocal.m4: Regenerated. * configure: Regenerated. * docs/ext/howto.html: Additional explanation about hashing. From-SVN: r36731
This commit is contained in:
parent
2296d1645d
commit
9a200b0a07
5 changed files with 1069 additions and 1039 deletions
|
@ -1,3 +1,12 @@
|
|||
2000-10-05 Phil Edwards <pme@sources.redhat.com>
|
||||
|
||||
* acinclude.m4 (GLIBCPP_CHECK_CTYPE): Tweaks to message texts
|
||||
for public relations purposes.
|
||||
* aclocal.m4: Regenerated.
|
||||
* configure: Regenerated.
|
||||
|
||||
* docs/ext/howto.html: Additional explanation about hashing.
|
||||
|
||||
2000-10-05 Benjamin Kosnik <bkoz@cygnus.com>
|
||||
|
||||
* include: New directory.
|
||||
|
|
|
@ -583,7 +583,6 @@ AC_DEFUN(GLIBCPP_CHECK_MATH_SUPPORT, [
|
|||
dnl keep this sync'd with the one above. And if you add any new symbol,
|
||||
dnl please add the corresponding block in the @BOTTOM@ section of acconfig.h.
|
||||
dnl Check to see if certain C math functions exist.
|
||||
dnl Check to see if certain C math functions exist.
|
||||
GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1(_isinf)
|
||||
GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1(_isnan)
|
||||
GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1(_finite)
|
||||
|
@ -748,8 +747,8 @@ AC_DEFUN(GLIBCPP_CHECK_CTYPE, [
|
|||
dnl If doesn't match any specified, go with defaults.
|
||||
ctype_default=yes
|
||||
|
||||
dnl Test for <ctype> functionality -- gnu-linux
|
||||
AC_MSG_CHECKING([<ctype> for gnu-linux ])
|
||||
dnl Test for <ctype> functionality -- GNU/Linux
|
||||
AC_MSG_CHECKING([<ctype> for GNU/Linux])
|
||||
AC_TRY_COMPILE([#include <ctype.h>],
|
||||
[int
|
||||
foo (int a)
|
||||
|
@ -765,7 +764,7 @@ AC_DEFUN(GLIBCPP_CHECK_CTYPE, [
|
|||
|
||||
dnl Test for <ctype> functionality -- FreeBSD 4.0
|
||||
if test $ctype_default = "yes"; then
|
||||
AC_MSG_CHECKING([<ctype> for freebsd 4.0 ])
|
||||
AC_MSG_CHECKING([<ctype> for FreeBSD 4.0])
|
||||
AC_TRY_COMPILE([#include <ctype.h>],
|
||||
[int
|
||||
foo (int a)
|
||||
|
@ -781,7 +780,7 @@ AC_DEFUN(GLIBCPP_CHECK_CTYPE, [
|
|||
|
||||
dnl Test for <ctype> functionality -- FreeBSD 3.4
|
||||
if test $ctype_default = "yes"; then
|
||||
AC_MSG_CHECKING([<ctype> for freebsd 3.4 ])
|
||||
AC_MSG_CHECKING([<ctype> for FreeBSD 3.4])
|
||||
AC_TRY_COMPILE([#include <ctype.h>],
|
||||
[int
|
||||
foo (int a)
|
||||
|
@ -795,9 +794,9 @@ AC_DEFUN(GLIBCPP_CHECK_CTYPE, [
|
|||
fi
|
||||
fi
|
||||
|
||||
dnl Test for <ctype> functionality -- solaris 2.6 and 2.7
|
||||
dnl Test for <ctype> functionality -- Solaris 2.6 and up
|
||||
if test $ctype_default = "yes"; then
|
||||
AC_MSG_CHECKING([<ctype> for solaris 2.[6,7,8] ])
|
||||
AC_MSG_CHECKING([<ctype> for Solaris 2.6,7,8])
|
||||
AC_TRY_COMPILE([#include <ctype.h>],
|
||||
[int
|
||||
foo (int a)
|
||||
|
@ -816,19 +815,19 @@ AC_DEFUN(GLIBCPP_CHECK_CTYPE, [
|
|||
AC_LANG_C
|
||||
if test $ctype_solaris26 = "yes"; then
|
||||
ctype_include_dir="config/solaris/solaris2.6"
|
||||
AC_MSG_RESULT("solaris2.6")
|
||||
AC_MSG_RESULT([Solaris 2.6])
|
||||
ctype_default=no
|
||||
else
|
||||
ctype_include_dir="config/solaris/solaris2.7"
|
||||
AC_MSG_RESULT("solaris2.[7,8]")
|
||||
AC_MSG_RESULT([Solaris 7,8])
|
||||
ctype_default=no
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
dnl Test for <ctype> functionality -- solaris 2.5.1
|
||||
dnl Test for <ctype> functionality -- Solaris 2.5.1
|
||||
if test $ctype_default = "yes"; then
|
||||
AC_MSG_CHECKING([<ctype> for solaris 2.5.1 ])
|
||||
AC_MSG_CHECKING([<ctype> for Solaris 2.5.1])
|
||||
AC_TRY_COMPILE([#include <ctype.h>],
|
||||
[int
|
||||
foo (int a)
|
||||
|
@ -842,9 +841,9 @@ AC_DEFUN(GLIBCPP_CHECK_CTYPE, [
|
|||
fi
|
||||
fi
|
||||
|
||||
dnl Test for <ctype> functionality -- aix
|
||||
dnl Test for <ctype> functionality -- AIX
|
||||
if test $ctype_default = "yes"; then
|
||||
AC_MSG_CHECKING([<ctype> for aix ])
|
||||
AC_MSG_CHECKING([<ctype> for AIX])
|
||||
AC_TRY_COMPILE([#include <ctype.h>],
|
||||
[int
|
||||
foo (int a)
|
||||
|
@ -861,7 +860,7 @@ AC_DEFUN(GLIBCPP_CHECK_CTYPE, [
|
|||
|
||||
dnl Test for <ctype> functionality -- newlib
|
||||
if test $ctype_default = "yes"; then
|
||||
AC_MSG_CHECKING([<ctype> for newlib ])
|
||||
AC_MSG_CHECKING([<ctype> for newlib])
|
||||
AC_TRY_COMPILE([#include <ctype.h>],
|
||||
[int
|
||||
foo (int a)
|
||||
|
@ -1592,3 +1591,4 @@ AC_DEFUN([AM_PROG_LIBTOOL])
|
|||
AC_DEFUN([AC_LIBTOOL_DLOPEN])
|
||||
AC_DEFUN([AC_PROG_LD])
|
||||
])
|
||||
|
||||
|
|
28
libstdc++-v3/aclocal.m4
vendored
28
libstdc++-v3/aclocal.m4
vendored
|
@ -595,7 +595,6 @@ AC_DEFUN(GLIBCPP_CHECK_MATH_SUPPORT, [
|
|||
dnl keep this sync'd with the one above. And if you add any new symbol,
|
||||
dnl please add the corresponding block in the @BOTTOM@ section of acconfig.h.
|
||||
dnl Check to see if certain C math functions exist.
|
||||
dnl Check to see if certain C math functions exist.
|
||||
GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1(_isinf)
|
||||
GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1(_isnan)
|
||||
GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1(_finite)
|
||||
|
@ -760,8 +759,8 @@ AC_DEFUN(GLIBCPP_CHECK_CTYPE, [
|
|||
dnl If doesn't match any specified, go with defaults.
|
||||
ctype_default=yes
|
||||
|
||||
dnl Test for <ctype> functionality -- gnu-linux
|
||||
AC_MSG_CHECKING([<ctype> for gnu-linux ])
|
||||
dnl Test for <ctype> functionality -- GNU/Linux
|
||||
AC_MSG_CHECKING([<ctype> for GNU/Linux])
|
||||
AC_TRY_COMPILE([#include <ctype.h>],
|
||||
[int
|
||||
foo (int a)
|
||||
|
@ -777,7 +776,7 @@ AC_DEFUN(GLIBCPP_CHECK_CTYPE, [
|
|||
|
||||
dnl Test for <ctype> functionality -- FreeBSD 4.0
|
||||
if test $ctype_default = "yes"; then
|
||||
AC_MSG_CHECKING([<ctype> for freebsd 4.0 ])
|
||||
AC_MSG_CHECKING([<ctype> for FreeBSD 4.0])
|
||||
AC_TRY_COMPILE([#include <ctype.h>],
|
||||
[int
|
||||
foo (int a)
|
||||
|
@ -793,7 +792,7 @@ AC_DEFUN(GLIBCPP_CHECK_CTYPE, [
|
|||
|
||||
dnl Test for <ctype> functionality -- FreeBSD 3.4
|
||||
if test $ctype_default = "yes"; then
|
||||
AC_MSG_CHECKING([<ctype> for freebsd 3.4 ])
|
||||
AC_MSG_CHECKING([<ctype> for FreeBSD 3.4])
|
||||
AC_TRY_COMPILE([#include <ctype.h>],
|
||||
[int
|
||||
foo (int a)
|
||||
|
@ -807,9 +806,9 @@ AC_DEFUN(GLIBCPP_CHECK_CTYPE, [
|
|||
fi
|
||||
fi
|
||||
|
||||
dnl Test for <ctype> functionality -- solaris 2.6 and 2.7
|
||||
dnl Test for <ctype> functionality -- Solaris 2.6 and up
|
||||
if test $ctype_default = "yes"; then
|
||||
AC_MSG_CHECKING([<ctype> for solaris 2.[6,7,8] ])
|
||||
AC_MSG_CHECKING([<ctype> for Solaris 2.6,7,8])
|
||||
AC_TRY_COMPILE([#include <ctype.h>],
|
||||
[int
|
||||
foo (int a)
|
||||
|
@ -828,19 +827,19 @@ AC_DEFUN(GLIBCPP_CHECK_CTYPE, [
|
|||
AC_LANG_C
|
||||
if test $ctype_solaris26 = "yes"; then
|
||||
ctype_include_dir="config/solaris/solaris2.6"
|
||||
AC_MSG_RESULT("solaris2.6")
|
||||
AC_MSG_RESULT([Solaris 2.6])
|
||||
ctype_default=no
|
||||
else
|
||||
ctype_include_dir="config/solaris/solaris2.7"
|
||||
AC_MSG_RESULT("solaris2.[7,8]")
|
||||
AC_MSG_RESULT([Solaris 7,8])
|
||||
ctype_default=no
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
dnl Test for <ctype> functionality -- solaris 2.5.1
|
||||
dnl Test for <ctype> functionality -- Solaris 2.5.1
|
||||
if test $ctype_default = "yes"; then
|
||||
AC_MSG_CHECKING([<ctype> for solaris 2.5.1 ])
|
||||
AC_MSG_CHECKING([<ctype> for Solaris 2.5.1])
|
||||
AC_TRY_COMPILE([#include <ctype.h>],
|
||||
[int
|
||||
foo (int a)
|
||||
|
@ -854,9 +853,9 @@ AC_DEFUN(GLIBCPP_CHECK_CTYPE, [
|
|||
fi
|
||||
fi
|
||||
|
||||
dnl Test for <ctype> functionality -- aix
|
||||
dnl Test for <ctype> functionality -- AIX
|
||||
if test $ctype_default = "yes"; then
|
||||
AC_MSG_CHECKING([<ctype> for aix ])
|
||||
AC_MSG_CHECKING([<ctype> for AIX])
|
||||
AC_TRY_COMPILE([#include <ctype.h>],
|
||||
[int
|
||||
foo (int a)
|
||||
|
@ -873,7 +872,7 @@ AC_DEFUN(GLIBCPP_CHECK_CTYPE, [
|
|||
|
||||
dnl Test for <ctype> functionality -- newlib
|
||||
if test $ctype_default = "yes"; then
|
||||
AC_MSG_CHECKING([<ctype> for newlib ])
|
||||
AC_MSG_CHECKING([<ctype> for newlib])
|
||||
AC_TRY_COMPILE([#include <ctype.h>],
|
||||
[int
|
||||
foo (int a)
|
||||
|
@ -1605,6 +1604,7 @@ AC_DEFUN([AC_LIBTOOL_DLOPEN])
|
|||
AC_DEFUN([AC_PROG_LD])
|
||||
])
|
||||
|
||||
|
||||
# Do all the work for Automake. This macro actually does too much --
|
||||
# some checks are only needed if your package does certain things.
|
||||
# But this isn't really a big deal.
|
||||
|
|
2029
libstdc++-v3/configure
vendored
2029
libstdc++-v3/configure
vendored
File diff suppressed because it is too large
Load diff
|
@ -9,7 +9,7 @@
|
|||
<TITLE>libstdc++-v3 HOWTO: Extensions</TITLE>
|
||||
<LINK REL="home" HREF="http://sources.redhat.com/libstdc++/docs/ext/">
|
||||
<LINK REL=StyleSheet HREF="../lib3styles.css">
|
||||
<!-- $Id: howto.html,v 1.5 2000/09/19 21:54:48 pme Exp $ -->
|
||||
<!-- $Id: howto.html,v 1.1 2000/09/25 21:42:14 pme Exp $ -->
|
||||
</HEAD>
|
||||
<BODY>
|
||||
|
||||
|
@ -84,6 +84,16 @@
|
|||
functions, as well as some extra constructors specifying the number
|
||||
of buckets, etc.
|
||||
</P>
|
||||
<P>Why would you want to use a hashing class instead of the
|
||||
"normal" implementations? Matt Austern writes:
|
||||
<BLOCKQUOTE><EM>[W]ith a well chosen hash function, hash tables
|
||||
generally provide much better average-case performance than binary
|
||||
search trees, and much worse worst-case performance. So if your
|
||||
implementation has hash_map, if you don't mind using nonstandard
|
||||
components, and if you aren't scared about the possibility of
|
||||
pathological cases, you'll probably get better performance from
|
||||
hash_map.</EM></BLOCKQUOTE>
|
||||
</P>
|
||||
<P>(Side note: for those of you wondering, <B>"Why wasn't a hash
|
||||
table included in the Standard in the first #!$@ place?"</B> I'll
|
||||
give a quick answer: it was proposed, but too late and in too
|
||||
|
@ -139,7 +149,7 @@
|
|||
Comments and suggestions are welcome, and may be sent to
|
||||
<A HREF="mailto:pme@sources.redhat.com">Phil Edwards</A> or
|
||||
<A HREF="mailto:gdr@egcs.cygnus.com">Gabriel Dos Reis</A>.
|
||||
<BR> $Id: howto.html,v 1.5 2000/09/19 21:54:48 pme Exp $
|
||||
<BR> $Id: howto.html,v 1.1 2000/09/25 21:42:14 pme Exp $
|
||||
</EM></P>
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue