diff options
author | Steve Ellcey <sellcey@mips.com> | 2013-11-15 17:50:28 +0000 |
---|---|---|
committer | Steve Ellcey <sje@gcc.gnu.org> | 2013-11-15 17:50:28 +0000 |
commit | cb83df668c629a4db5bfd3e17b6ff947ea0cb501 (patch) | |
tree | 6fad6b53e6172c8c9f3beb223f4cf7dde903a7e1 /libgfortran | |
parent | 66204992cbac21d3b81083d82b556495503496d9 (diff) | |
download | gcc-cb83df668c629a4db5bfd3e17b6ff947ea0cb501.zip gcc-cb83df668c629a4db5bfd3e17b6ff947ea0cb501.tar.gz gcc-cb83df668c629a4db5bfd3e17b6ff947ea0cb501.tar.bz2 |
configure.ac: Do not define HAVE_STRTOLD.
2013-11-15 Steve Ellcey <sellcey@mips.com>
* configure.ac: Do not define HAVE_STRTOLD.
* configure: Regenerate.
From-SVN: r204855
Diffstat (limited to 'libgfortran')
-rw-r--r-- | libgfortran/ChangeLog | 5 | ||||
-rwxr-xr-x | libgfortran/configure | 12 | ||||
-rw-r--r-- | libgfortran/configure.ac | 8 |
3 files changed, 21 insertions, 4 deletions
diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index 2ccaa3d..31a4fb5 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,3 +1,8 @@ +2013-11-15 Steve Ellcey <sellcey@mips.com> + + * configure.ac: Do not define HAVE_STRTOLD. + * configure: Regenerate. + 2013-11-10 Janne Blomqvist <jb@gcc.gnu.org> * configure.ac: Check presence of mkostemp. diff --git a/libgfortran/configure b/libgfortran/configure index e746907..bfb2408 100755 --- a/libgfortran/configure +++ b/libgfortran/configure @@ -16457,9 +16457,6 @@ $as_echo "#define HAVE_MKSTEMP 1" >>confdefs.h $as_echo "#define HAVE_STRTOF 1" >>confdefs.h -$as_echo "#define HAVE_STRTOLD 1" >>confdefs.h - - $as_echo "#define HAVE_SNPRINTF 1" >>confdefs.h @@ -16474,6 +16471,15 @@ $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h + + # At some point, we should differentiate between architectures + # like x86, which have long double versions, and alpha/powerpc/etc., + # which don't. For the time being, punt. + if test x"long_double_math_on_this_cpu" = x"yes"; then + +$as_echo "#define HAVE_STRTOLD 1" >>confdefs.h + + fi else diff --git a/libgfortran/configure.ac b/libgfortran/configure.ac index 6417373..6acc0f29 100644 --- a/libgfortran/configure.ac +++ b/libgfortran/configure.ac @@ -267,12 +267,18 @@ if test "x${with_newlib}" = "xyes"; then # link executables. AC_DEFINE(HAVE_MKSTEMP, 1, [Define if you have mkstemp.]) AC_DEFINE(HAVE_STRTOF, 1, [Define if you have strtof.]) - AC_DEFINE(HAVE_STRTOLD, 1, [Define if you have strtold.]) AC_DEFINE(HAVE_SNPRINTF, 1, [Define if you have snprintf.]) AC_DEFINE(HAVE_STRCASESTR, 1, [Define if you have strcasestr.]) AC_DEFINE(HAVE_VSNPRINTF, 1, [Define if you have vsnprintf.]) AC_DEFINE(HAVE_LOCALTIME_R, 1, [Define if you have localtime_r.]) AC_DEFINE(HAVE_GMTIME_R, 1, [Define if you have gmtime_r.]) + + # At some point, we should differentiate between architectures + # like x86, which have long double versions, and alpha/powerpc/etc., + # which don't. For the time being, punt. + if test x"long_double_math_on_this_cpu" = x"yes"; then + AC_DEFINE(HAVE_STRTOLD, 1, [Define if you have strtold.]) + fi else AC_CHECK_FUNCS_ONCE(getrusage times mkstemp strtof strtold snprintf \ ftruncate chsize chdir getlogin gethostname kill link symlink sleep ttyname \ |