WIN-13: create win32.cc, configury update
Adam Megacz
patches@lists.megacz.com
Mon Feb 4 16:38:00 GMT 2002
Ok to commit?
- a
2002-02-04 Adam Megacz <adam@xwt.org>
* win32.cc: Created it.
configure.in: Added PLATSRC, which is set to posix.cc or win32.cc.
Makefile.am: Updated it to use $(PLATSRC).
--- configure.in Mon Feb 4 16:12:10 2002
+++ configure.in Mon Feb 4 16:31:13 2002
@@ -207,21 +207,27 @@
TARGET_ECOS="$with_ecos"
)
+PLATSRC=
case "$TARGET_ECOS" in
no) case "$host" in
*mingw*)
PLATFORM=Win32
+ PLATSRC=win32.cc
;;
*)
PLATFORM=Posix
+ PLATSRC=posix.cc
;;
esac
;;
*)
PLATFORM=Ecos
AC_DEFINE(ECOS)
+ PLATSRC=posix.cc
;;
esac
+AC_SUBST(PLATSRC)
+
AC_EGREP_HEADER(uint32_t, stdint.h, AC_DEFINE(HAVE_INT32_DEFINED))
AC_EGREP_HEADER(uint32_t, inttypes.h, AC_DEFINE(HAVE_INT32_DEFINED))
--- Makefile.am 2002/02/02 18:23:02 1.196
+++ Makefile.am 2002/02/05 00:36:06
@@ -123,7 +123,7 @@
$(built_java_source_files:.java=.lo)
x_javao_files = $(x_java_source_files:.java=.lo)
-libgcj_la_SOURCES = prims.cc posix.cc jni.cc exception.cc \
+libgcj_la_SOURCES = prims.cc $(PLATSRC) jni.cc exception.cc \
resolve.cc defineclass.cc interpret.cc name-finder.cc verify.cc \
$(nat_source_files)
EXTRA_libgcj_la_SOURCES = boehm.cc nogc.cc posix-threads.cc no-threads.cc \
More information about the Java-patches
mailing list