This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] GNU/KFreeBSD support in libstdc++, with ChangeLog and test log
- From: Robert Millan <zeratul2 at wanadoo dot es>
- To: Phil Edwards <phil at codesourcery dot com>
- Cc: libstdc++ at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org,glibc-bsd-hackers at nongnu dot org,glibc-bsd-devel at lists dot alioth dot debian dot org
- Date: Sat, 25 Oct 2003 02:50:10 +0200
- Subject: Re: [PATCH] GNU/KFreeBSD support in libstdc++, with ChangeLog and test log
- Organisation: free as in freedom
- References: <20031024231215.GA1058@aragorn> <20031025000959.GA6407@disaster.jaj.com>
On Fri, Oct 24, 2003 at 08:09:59PM -0400, Phil Edwards wrote:
> On Sat, Oct 25, 2003 at 01:12:15AM +0200, Robert Millan wrote:
> >
> > * acinclude.m4: Add kfreebsd*-gnu and knetbsd*-gnu.
>
> Please change this to
>
> * acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Add kfreebsd*-gnu
> and knetbsd*-gnu.
Fixed ChangeLog/patch below. Anyone to commit?
2003-10-25 Robert Millan <robertmh@gnu.org>
* acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Add kfreebsd*-gnu
and knetbsd*-gnu.
* aclocal.m4: Regenerate.
* configure: Likewise.
diff -Nur gcc.old/libstdc++-v3/acinclude.m4 gcc/libstdc++-v3/acinclude.m4
--- gcc.old/libstdc++-v3/acinclude.m4 2003-10-22 17:51:43.000000000 +0200
+++ gcc/libstdc++-v3/acinclude.m4 2003-10-24 12:26:28.000000000 +0200
@@ -991,7 +991,7 @@
# Default to "generic".
if test $enable_clocale_flag = auto; then
case x${target_os} in
- xlinux* | xgnu*)
+ xlinux* | xgnu* | xkfreebsd*-gnu | xknetbsd*-gnu)
AC_EGREP_CPP([_GLIBCXX_ok], [
#include <features.h>
#if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
--
Robert Millan
"[..] but the delight and pride of Aule is in the deed of making, and in the
thing made, and neither in possession nor in his own mastery; wherefore he
gives and hoards not, and is free from care, passing ever on to some new work."
-- J.R.R.T, Ainulindale (Silmarillion)