Commit 5463a4f3 by Anthony Green Committed by Anthony Green

Another newlib fix.

From-SVN: r71655
parent 0de118b6
2003-09-22 Anthony Green <green@redhat.com>
* configure.in (HAVE_USLEEP_DECL): Define for newlib build.
* configure: Rebuilt.
2003-09-21 Ralph Loader <suckfish@ihug.co.nz> 2003-09-21 Ralph Loader <suckfish@ihug.co.nz>
PR java/12350: PR java/12350:
......
...@@ -4386,6 +4386,10 @@ EOF ...@@ -4386,6 +4386,10 @@ EOF
#define HAVE_LOCALTIME_R 1 #define HAVE_LOCALTIME_R 1
EOF EOF
cat >> confdefs.h <<\EOF
#define HAVE_USLEEP_DECL 1
EOF
cat >> confdefs.h <<\EOF cat >> confdefs.h <<\EOF
#define HAVE_PTHREAD_MUTEXATTR_INIT 1 #define HAVE_PTHREAD_MUTEXATTR_INIT 1
EOF EOF
......
...@@ -577,6 +577,7 @@ if test "x${with_newlib}" = "xyes"; then ...@@ -577,6 +577,7 @@ if test "x${with_newlib}" = "xyes"; then
AC_DEFINE(HAVE_TIME, 1, [Define if you have time.]) AC_DEFINE(HAVE_TIME, 1, [Define if you have time.])
AC_DEFINE(HAVE_GMTIME_R, 1, [Define if you have the 'gmtime_r' function]) AC_DEFINE(HAVE_GMTIME_R, 1, [Define if you have the 'gmtime_r' function])
AC_DEFINE(HAVE_LOCALTIME_R, 1, [Define if you have the 'localtime_r' function.]) AC_DEFINE(HAVE_LOCALTIME_R, 1, [Define if you have the 'localtime_r' function.])
AC_DEFINE(HAVE_USLEEP_DECL, 1, [Define if usleep is declared in <unistd.h>.])
dnl This is only for POSIX threads. dnl This is only for POSIX threads.
AC_DEFINE(HAVE_PTHREAD_MUTEXATTR_INIT, 1, [Define if using POSIX threads that have the mutexattr functions.]) AC_DEFINE(HAVE_PTHREAD_MUTEXATTR_INIT, 1, [Define if using POSIX threads that have the mutexattr functions.])
dnl We also assume we are using gcc, which provides alloca. dnl We also assume we are using gcc, which provides alloca.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment