diff options
author | Hans-Peter Nilsson <hp@axis.com> | 2014-05-23 02:06:40 +0000 |
---|---|---|
committer | Hans-Peter Nilsson <hp@gcc.gnu.org> | 2014-05-23 02:06:40 +0000 |
commit | ebfedee6d72292d8e6770e5de05d6290a94ab098 (patch) | |
tree | a1d916ed768d5a828956bfa4ec5d88864164419a /libgfortran | |
parent | b17ec42d4c8cd1779306b81e0d090dc9f8f69c2a (diff) | |
download | gcc-ebfedee6d72292d8e6770e5de05d6290a94ab098.zip gcc-ebfedee6d72292d8e6770e5de05d6290a94ab098.tar.gz gcc-ebfedee6d72292d8e6770e5de05d6290a94ab098.tar.bz2 |
configure.ac [...] (HAVE_STRNLEN, [...]): Define.
* configure.ac [with_newlib] (HAVE_STRNLEN, HAVE_STRNDUP): Define.
* configure: Regenerate.
From-SVN: r210841
Diffstat (limited to 'libgfortran')
-rw-r--r-- | libgfortran/ChangeLog | 5 | ||||
-rwxr-xr-x | libgfortran/configure | 6 | ||||
-rw-r--r-- | libgfortran/configure.ac | 2 |
3 files changed, 13 insertions, 0 deletions
diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index 6fe0974..4217773 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,3 +1,8 @@ +2014-05-23 Hans-Peter Nilsson <hp@axis.com> + + * configure.ac [with_newlib] (HAVE_STRNLEN, HAVE_STRNDUP): Define. + * configure: Regenerate. + 2014-05-23 Janne Blomqvist <jb@gcc.gnu.org> PR libfortran/60324 diff --git a/libgfortran/configure b/libgfortran/configure index d46a6e2..9841ebc 100755 --- a/libgfortran/configure +++ b/libgfortran/configure @@ -16476,6 +16476,12 @@ $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h +$as_echo "#define HAVE_STRNLEN 1" >>confdefs.h + + +$as_echo "#define HAVE_STRNDUP 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. diff --git a/libgfortran/configure.ac b/libgfortran/configure.ac index fb29c14..ab4c497 100644 --- a/libgfortran/configure.ac +++ b/libgfortran/configure.ac @@ -273,6 +273,8 @@ if test "x${with_newlib}" = "xyes"; then 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.]) + AC_DEFINE(HAVE_STRNLEN, 1, [Define if you have strnlen.]) + AC_DEFINE(HAVE_STRNDUP, 1, [Define if you have strndup.]) # At some point, we should differentiate between architectures # like x86, which have long double versions, and alpha/powerpc/etc., |