diff options
| author | green <green@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-09-22 16:04:24 +0000 |
|---|---|---|
| committer | green <green@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-09-22 16:04:24 +0000 |
| commit | 81301f7eb40f1141bcc8854ba9c5b0fa3eb4a376 (patch) | |
| tree | e06fff4dce405fcaefee7dbb62f13e1ed0ef8c20 /libjava | |
| parent | c307b7ee13dd201204f66b1ce176103179ea0c70 (diff) | |
| download | ppe42-gcc-81301f7eb40f1141bcc8854ba9c5b0fa3eb4a376.tar.gz ppe42-gcc-81301f7eb40f1141bcc8854ba9c5b0fa3eb4a376.zip | |
Another newlib fix.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71655 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava')
| -rw-r--r-- | libjava/ChangeLog | 5 | ||||
| -rwxr-xr-x | libjava/configure | 4 | ||||
| -rw-r--r-- | libjava/configure.in | 1 |
3 files changed, 10 insertions, 0 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog index ac57998976a..31d82a6f1cf 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,8 @@ +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> PR java/12350: diff --git a/libjava/configure b/libjava/configure index 6c44b70fa7e..703370cf5b2 100755 --- a/libjava/configure +++ b/libjava/configure @@ -4386,6 +4386,10 @@ EOF #define HAVE_LOCALTIME_R 1 EOF + cat >> confdefs.h <<\EOF +#define HAVE_USLEEP_DECL 1 +EOF + cat >> confdefs.h <<\EOF #define HAVE_PTHREAD_MUTEXATTR_INIT 1 EOF diff --git a/libjava/configure.in b/libjava/configure.in index dac09ab4d28..aaae5e69255 100644 --- a/libjava/configure.in +++ b/libjava/configure.in @@ -577,6 +577,7 @@ if test "x${with_newlib}" = "xyes"; then 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_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. 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. |

