win32.cc: Created it.

2002-02-04  Adam Megacz <adam@xwt.org>

        * win32.cc: Created it.
          configure.in: Added PLATFORM_SPECIFIC_SOURCES,
          which is set to posix.cc or win32.cc.
          Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).

From-SVN: r49509
This commit is contained in:
Adam Megacz 2002-02-05 02:08:16 +00:00 committed by Adam Megacz
parent d08e89a9ec
commit d7799ba140
5 changed files with 331 additions and 2676 deletions

View File

@ -1,3 +1,10 @@
2002-02-04 Adam Megacz <adam@xwt.org>
* win32.cc: Created it.
configure.in: Added PLATFORM_SPECIFIC_SOURCES,
which is set to posix.cc or win32.cc.
Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
2002-02-04 Adam Megacz <adam@xwt.org>
* configure.in: Corrected mingw case branches; added * before

View File

@ -123,7 +123,7 @@ javao_files = $(java_source_files:.java=.lo) \
$(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 $(PLATFORM_SPECIFIC_SOURCES) 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 \

File diff suppressed because one or more lines are too long

485
libjava/configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -193,21 +193,27 @@ AC_ARG_WITH(ecos,
TARGET_ECOS="$with_ecos"
)
PLATFORM_SPECIFIC_SOURCES=
case "$TARGET_ECOS" in
no) case "$host" in
mingw)
PLATFORM=Win32
PLATFORM_SPECIFIC_SOURCES=win32.cc
;;
*)
PLATFORM=Posix
PLATFORM_SPECIFIC_SOURCES=posix.cc
;;
esac
;;
*)
PLATFORM=Ecos
AC_DEFINE(ECOS)
PLATFORM_SPECIFIC_SOURCES=posix.cc
;;
esac
AC_SUBST(PLATFORM_SPECIFIC_SOURCES)
AC_EGREP_HEADER(uint32_t, stdint.h, AC_DEFINE(HAVE_INT32_DEFINED))
AC_EGREP_HEADER(uint32_t, inttypes.h, AC_DEFINE(HAVE_INT32_DEFINED))