summaryrefslogtreecommitdiff
path: root/libstdc++-v3/crossconfig.m4
diff options
context:
space:
mode:
authorbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>2005-02-01 06:56:30 +0000
committerbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>2005-02-01 06:56:30 +0000
commit382c7ba6cd64a3fe6c2a671319f04eb04f6a775d (patch)
tree3ec5e58a1442d33ea6d6ae8b845863bc8a022e71 /libstdc++-v3/crossconfig.m4
parentc12135972fd591e763529ffd9ea6fc757aefd25e (diff)
downloadgcc-382c7ba6cd64a3fe6c2a671319f04eb04f6a775d.tar.gz
2005-01-31 Brad Spencer <spencer@infointeractive.com>
* crossconfig.m4: Repair Solaris cross bits for strtold and strtof. * configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94526 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/crossconfig.m4')
-rw-r--r--libstdc++-v3/crossconfig.m49
1 files changed, 7 insertions, 2 deletions
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)