]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
configure.ac [...] (HAVE_STRNLEN, [...]): Define.
authorHans-Peter Nilsson <hp@axis.com>
Fri, 23 May 2014 02:06:40 +0000 (02:06 +0000)
committerHans-Peter Nilsson <hp@gcc.gnu.org>
Fri, 23 May 2014 02:06:40 +0000 (02:06 +0000)
* configure.ac [with_newlib] (HAVE_STRNLEN, HAVE_STRNDUP): Define.
* configure: Regenerate.

From-SVN: r210841

libgfortran/ChangeLog
libgfortran/configure
libgfortran/configure.ac

index 6fe0974098de075b239bec0d792aed29b4188b03..42177735644ec6daa81b0be82eafec46af6534f9 100644 (file)
@@ -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
index d46a6e2d796055e495d510de496aac83fd3c5057..9841ebc0ae324947c853a14c70261a51244f989c 100755 (executable)
@@ -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.
index fb29c147666fe5dc0f655e443a693f5104d2feb6..ab4c497e5f3bffb0450163428500db440339f13b 100644 (file)
@@ -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.,