[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Fixes for your native/target/generic/target_generic_file.h changes
From: |
Stephen Crawley |
Subject: |
Fixes for your native/target/generic/target_generic_file.h changes |
Date: |
Thu, 17 Jul 2003 01:02:07 +1000 |
Hi Torsten,
The following patches are required to get the most recent version of
target_generic_file.h to compile. Can you please check and apply them
to the Classpath CVS?
[Hint for others: it is necessary to rerun autoheader, automake,
autoconf and ./configure after apply this patch.]
Thanks,
-- Steve
Index: configure.in
===================================================================
RCS file: /cvsroot/classpath/classpath/configure.in,v
retrieving revision 1.126
diff -p -r1.126 configure.in
*** configure.in 2 Jul 2003 09:16:52 -0000 1.126
--- configure.in 16 Jul 2003 14:52:07 -0000
*************** dnl Checks for programs.
*** 91,97 ****
if test "x${COMPILE_JNI}" = xyes; then
AC_HEADER_STDC
! AC_CHECK_HEADERS(unistd.h sys/types.h sys/config.h sys/ioctl.h asm/ioctls.h
inttypes.h stdint.h)
AC_EGREP_HEADER(uint32_t, stdint.h, AC_DEFINE(HAVE_INT32_DEFINED, 1,
[Define to 1 if you have uint32_t]))
AC_EGREP_HEADER(uint32_t, inttypes.h, AC_DEFINE(HAVE_INT32_DEFINED, 1,
[Define to 1 if you have uint32_t]))
AC_EGREP_HEADER(u_int32_t, sys/types.h, AC_DEFINE(HAVE_BSD_INT32_DEFINED,
1, [Define to 1 if you have BSD u_int32_t]))
--- 91,97 ----
if test "x${COMPILE_JNI}" = xyes; then
AC_HEADER_STDC
! AC_CHECK_HEADERS(unistd.h sys/types.h sys/config.h sys/ioctl.h asm/ioctls.h
inttypes.h stdint.h utime.h sys/utime.h)
AC_EGREP_HEADER(uint32_t, stdint.h, AC_DEFINE(HAVE_INT32_DEFINED, 1,
[Define to 1 if you have uint32_t]))
AC_EGREP_HEADER(uint32_t, inttypes.h, AC_DEFINE(HAVE_INT32_DEFINED, 1,
[Define to 1 if you have uint32_t]))
AC_EGREP_HEADER(u_int32_t, sys/types.h, AC_DEFINE(HAVE_BSD_INT32_DEFINED,
1, [Define to 1 if you have BSD u_int32_t]))
Index: native/target/generic/target_generic_file.h
===================================================================
RCS file:
/cvsroot/classpath/classpath/native/target/generic/target_generic_file.h,v
retrieving revision 1.6
diff -p -r1.6 target_generic_file.h
*** native/target/generic/target_generic_file.h 16 Jul 2003 13:30:56 -0000
1.6
--- native/target/generic/target_generic_file.h 16 Jul 2003 14:52:08 -0000
*************** extern "C" {
*** 624,632 ****
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
! #ifdef HAVE_UTIME
#include <utime.h>
! #elif HAVE_SYS_UTIME
#include <sys/utime.h>
#else
#error utime.h not found. Please check configuration.
--- 624,632 ----
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
! #ifdef HAVE_UTIME_H
#include <utime.h>
! #elif HAVE_SYS_UTIME_H
#include <sys/utime.h>
#else
#error utime.h not found. Please check configuration.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Fixes for your native/target/generic/target_generic_file.h changes,
Stephen Crawley <=