mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-05 13:51:00 +08:00
crossconfig.m4 (*-mingw32*): Define HAVE_STRTOF and HAVE_STRTOLD.
* crossconfig.m4 (*-mingw32*): Define HAVE_STRTOF and HAVE_STRTOLD. * configure: Regenerate. From-SVN: r132859
This commit is contained in:
parent
649af4e870
commit
676e18068f
@ -1,3 +1,9 @@
|
||||
2008-03-04 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
* crossconfig.m4 (*-mingw32*): Define HAVE_STRTOF and
|
||||
HAVE_STRTOLD.
|
||||
* configure: Regenerate.
|
||||
|
||||
2008-03-02 Hans-Peter Nilsson <hp@axis.com>
|
||||
|
||||
* testsuite/20_util/shared_ptr/assign/shared_ptr_neg.cc,
|
||||
|
10
libstdc++-v3/configure
vendored
10
libstdc++-v3/configure
vendored
@ -17976,7 +17976,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
||||
|
||||
# Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
|
||||
cat > conftest.$ac_ext << EOF
|
||||
#line 17851 "configure"
|
||||
#line 17979 "configure"
|
||||
int main()
|
||||
{
|
||||
// NB: _Atomic_word not necessarily int.
|
||||
@ -110019,6 +110019,14 @@ fi
|
||||
|
||||
done
|
||||
|
||||
cat >>confdefs.h <<\_ACEOF
|
||||
#define HAVE_STRTOF 1
|
||||
_ACEOF
|
||||
|
||||
cat >>confdefs.h <<\_ACEOF
|
||||
#define HAVE_STRTOLD 1
|
||||
_ACEOF
|
||||
|
||||
|
||||
# If we're not using GNU ld, then there's no point in even trying these
|
||||
# tests. Check for that first. We should have already tested for gld
|
||||
|
@ -234,6 +234,8 @@ case "${host}" in
|
||||
;;
|
||||
*-mingw32*)
|
||||
AC_CHECK_HEADERS([sys/types.h locale.h float.h])
|
||||
AC_DEFINE(HAVE_STRTOF)
|
||||
AC_DEFINE(HAVE_STRTOLD)
|
||||
GLIBCXX_CHECK_LINKER_FEATURES
|
||||
GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT
|
||||
;;
|
||||
|
Loading…
x
Reference in New Issue
Block a user