aboutsummaryrefslogtreecommitdiff
path: root/libgfortran/configure.ac
diff options
context:
space:
mode:
authorhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>2014-05-23 02:06:40 +0000
committerhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>2014-05-23 02:06:40 +0000
commit4531a456fbc8fa0b5686669c668026aab3a390c7 (patch)
treea1d916ed768d5a828956bfa4ec5d88864164419a /libgfortran/configure.ac
parent10258db7e3bcf3c16127b85d98a9325c2b812b55 (diff)
* configure.ac [with_newlib] (HAVE_STRNLEN, HAVE_STRNDUP): Define.
* configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210841 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgfortran/configure.ac')
-rw-r--r--libgfortran/configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/libgfortran/configure.ac b/libgfortran/configure.ac
index fb29c147666..ab4c497e5f3 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.,