From ddf2a54af5d8339de80656f0a9d6a65a4c0cf6a4 Mon Sep 17 00:00:00 2001 From: Brad Spencer Date: Tue, 1 Feb 2005 06:56:30 +0000 Subject: [PATCH] crossconfig.m4: Repair Solaris cross bits for strtold and strtof. 2005-01-31 Brad Spencer * crossconfig.m4: Repair Solaris cross bits for strtold and strtof. * configure: Regenerated. From-SVN: r94526 --- libstdc++-v3/ChangeLog | 5 +++++ libstdc++-v3/Makefile.in | 2 +- libstdc++-v3/aclocal.m4 | 4 ++-- libstdc++-v3/configure | 9 +++++++-- libstdc++-v3/crossconfig.m4 | 9 +++++++-- libstdc++-v3/libmath/Makefile.in | 2 +- libstdc++-v3/libsupc++/Makefile.in | 2 +- libstdc++-v3/po/Makefile.in | 2 +- libstdc++-v3/src/Makefile.in | 2 +- libstdc++-v3/testsuite/Makefile.in | 2 +- 10 files changed, 27 insertions(+), 12 deletions(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index f875fa4ab3a..ab11dbbf216 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2005-01-31 Brad Spencer + + * crossconfig.m4: Repair Solaris cross bits for strtold and strtof. + * configure: Regenerated. + 2005-01-31 Mark Mitchell * include/std/std_limits.h (numeric_limits::has_denorm): diff --git a/libstdc++-v3/Makefile.in b/libstdc++-v3/Makefile.in index b6903d3b06d..72e4b6ca780 100644 --- a/libstdc++-v3/Makefile.in +++ b/libstdc++-v3/Makefile.in @@ -1,4 +1,4 @@ -# Makefile.in generated by automake 1.9.4 from Makefile.am. +# Makefile.in generated by automake 1.9.3 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, diff --git a/libstdc++-v3/aclocal.m4 b/libstdc++-v3/aclocal.m4 index b67612a6257..0111a59f978 100644 --- a/libstdc++-v3/aclocal.m4 +++ b/libstdc++-v3/aclocal.m4 @@ -1,4 +1,4 @@ -# generated automatically by aclocal 1.9.4 -*- Autoconf -*- +# generated automatically by aclocal 1.9.3 -*- Autoconf -*- # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 # Free Software Foundation, Inc. @@ -40,7 +40,7 @@ AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"]) # Call AM_AUTOMAKE_VERSION so it can be traced. # This function is AC_REQUIREd by AC_INIT_AUTOMAKE. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], - [AM_AUTOMAKE_VERSION([1.9.4])]) + [AM_AUTOMAKE_VERSION([1.9.3])]) # AM_AUX_DIR_EXPAND diff --git a/libstdc++-v3/configure b/libstdc++-v3/configure index 8b7b49374f4..2d5016a374a 100755 --- a/libstdc++-v3/configure +++ b/libstdc++-v3/configure @@ -95434,14 +95434,19 @@ _ACEOF ;; esac - cat >>confdefs.h <<\_ACEOF + case "$target" in + *-*-solaris2.10) + # These two C99 functions are present only in Solaris >= 10 + cat >>confdefs.h <<\_ACEOF #define HAVE_STRTOF 1 _ACEOF - cat >>confdefs.h <<\_ACEOF + cat >>confdefs.h <<\_ACEOF #define HAVE_STRTOLD 1 _ACEOF + ;; + esac cat >>confdefs.h <<\_ACEOF #define HAVE_MMAP 1 _ACEOF diff --git a/libstdc++-v3/crossconfig.m4 b/libstdc++-v3/crossconfig.m4 index 83a29b47007..8ee7a7b1ee0 100644 --- a/libstdc++-v3/crossconfig.m4 +++ b/libstdc++-v3/crossconfig.m4 @@ -414,8 +414,13 @@ case "${host}" in AC_DEFINE(HAVE___BUILTIN_SINF) ;; esac - AC_DEFINE(HAVE_STRTOF) - AC_DEFINE(HAVE_STRTOLD) + case "$target" in + *-*-solaris2.10) + # These two C99 functions are present only in Solaris >= 10 + AC_DEFINE(HAVE_STRTOF) + AC_DEFINE(HAVE_STRTOLD) + ;; + esac AC_DEFINE(HAVE_MMAP) AC_DEFINE(HAVE_COPYSIGN) AC_DEFINE(HAVE_ISNAN) diff --git a/libstdc++-v3/libmath/Makefile.in b/libstdc++-v3/libmath/Makefile.in index 8c00c66301c..0034dffbdc6 100644 --- a/libstdc++-v3/libmath/Makefile.in +++ b/libstdc++-v3/libmath/Makefile.in @@ -1,4 +1,4 @@ -# Makefile.in generated by automake 1.9.4 from Makefile.am. +# Makefile.in generated by automake 1.9.3 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, diff --git a/libstdc++-v3/libsupc++/Makefile.in b/libstdc++-v3/libsupc++/Makefile.in index 2a98d68fb93..2e48b9b0338 100644 --- a/libstdc++-v3/libsupc++/Makefile.in +++ b/libstdc++-v3/libsupc++/Makefile.in @@ -1,4 +1,4 @@ -# Makefile.in generated by automake 1.9.4 from Makefile.am. +# Makefile.in generated by automake 1.9.3 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, diff --git a/libstdc++-v3/po/Makefile.in b/libstdc++-v3/po/Makefile.in index cc9b4dbdf20..5a4b20c29be 100644 --- a/libstdc++-v3/po/Makefile.in +++ b/libstdc++-v3/po/Makefile.in @@ -1,4 +1,4 @@ -# Makefile.in generated by automake 1.9.4 from Makefile.am. +# Makefile.in generated by automake 1.9.3 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, diff --git a/libstdc++-v3/src/Makefile.in b/libstdc++-v3/src/Makefile.in index a5b670dced4..c8ac76078b6 100644 --- a/libstdc++-v3/src/Makefile.in +++ b/libstdc++-v3/src/Makefile.in @@ -1,4 +1,4 @@ -# Makefile.in generated by automake 1.9.4 from Makefile.am. +# Makefile.in generated by automake 1.9.3 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, diff --git a/libstdc++-v3/testsuite/Makefile.in b/libstdc++-v3/testsuite/Makefile.in index 96c4563ec38..a2145ac8003 100644 --- a/libstdc++-v3/testsuite/Makefile.in +++ b/libstdc++-v3/testsuite/Makefile.in @@ -1,4 +1,4 @@ -# Makefile.in generated by automake 1.9.4 from Makefile.am. +# Makefile.in generated by automake 1.9.3 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -- 2.30.2