mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-05 00:31:30 +08:00
configure.in: Added support for mingw.
2002-02-01 Adam Megacz <adam@xwt.org> * configure.in: Added support for mingw. * java/lang/Win32Process.java: Created as empty file. * java/lang/natWin32Process.cc: Created as empty file. From-SVN: r49425
This commit is contained in:
parent
8ee3759e0b
commit
54a190dd7b
@ -1,3 +1,9 @@
|
||||
2002-02-01 Adam Megacz <adam@xwt.org>
|
||||
|
||||
* configure.in: Added support for mingw.
|
||||
* java/lang/Win32Process.java: Created as empty file.
|
||||
* java/lang/natWin32Process.cc: Created as empty file.
|
||||
|
||||
2002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org>
|
||||
|
||||
PR java/4972
|
||||
|
508
libjava/configure
vendored
508
libjava/configure
vendored
File diff suppressed because it is too large
Load Diff
@ -194,13 +194,17 @@ TARGET_ECOS="$with_ecos"
|
||||
)
|
||||
|
||||
case "$TARGET_ECOS" in
|
||||
no)
|
||||
FILE_DESCRIPTOR=natFileDescriptorPosix.cc
|
||||
PROCESS=${PROCESS-Posix}
|
||||
no) case "$host" in
|
||||
mingw)
|
||||
PLATFORM=Win32
|
||||
;;
|
||||
*)
|
||||
PLATFORM=Posix
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
*)
|
||||
FILE_DESCRIPTOR=natFileDescriptorEcos.cc
|
||||
PROCESS=Ecos
|
||||
PLATFORM=Ecos
|
||||
AC_DEFINE(ECOS)
|
||||
;;
|
||||
esac
|
||||
@ -221,12 +225,12 @@ dnl to create the link will fail.
|
||||
test -d java || mkdir java
|
||||
test -d java/io || mkdir java/io
|
||||
test -d gnu || mkdir gnu
|
||||
AC_LINK_FILES(java/io/$FILE_DESCRIPTOR, java/io/natFileDescriptor.cc)
|
||||
AC_LINK_FILES(java/io/natFileDescriptor${PLATFORM}.cc, java/io/natFileDescriptor.cc)
|
||||
|
||||
dnl Likewise for ConcreteProcess.java and natConcreteProcess.cc.
|
||||
test -d java/lang || mkdir java/lang
|
||||
AC_LINK_FILES(java/lang/${PROCESS}Process.java, java/lang/ConcreteProcess.java)
|
||||
AC_LINK_FILES(java/lang/nat${PROCESS}Process.cc, java/lang/natConcreteProcess.cc)
|
||||
AC_LINK_FILES(java/lang/${PLATFORM}Process.java, java/lang/ConcreteProcess.java)
|
||||
AC_LINK_FILES(java/lang/nat${PLATFORM}Process.cc, java/lang/natConcreteProcess.cc)
|
||||
|
||||
SYSTEMSPEC=
|
||||
AC_SUBST(SYSTEMSPEC)
|
||||
@ -313,7 +317,9 @@ case "$THREADS" in
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
decosf1 | irix | mach | os2 | solaris | win32 | dce | vxworks)
|
||||
win32)
|
||||
;;
|
||||
decosf1 | irix | mach | os2 | solaris | dce | vxworks)
|
||||
AC_MSG_ERROR(thread package $THREADS not yet supported)
|
||||
;;
|
||||
*)
|
||||
@ -374,6 +380,11 @@ changequote([,])
|
||||
AC_DEFINE(_POSIX_PTHREAD_SEMANTICS, 1, [Required define if using POSIX threads])
|
||||
;;
|
||||
|
||||
win32)
|
||||
THREADOBJS=win32-threads.lo
|
||||
THREADH=win32-threads.h
|
||||
;;
|
||||
|
||||
none)
|
||||
THREADOBJS=no-threads.lo
|
||||
THREADH=no-threads.h
|
||||
@ -817,6 +828,9 @@ case "${host}" in
|
||||
alpha*-*-linux*)
|
||||
SIGNAL_HANDLER=include/dwarf2-signal.h
|
||||
;;
|
||||
mingw)
|
||||
SIGNAL_HANDLER=include/win32-signal.h
|
||||
;;
|
||||
*)
|
||||
SIGNAL_HANDLER=include/default-signal.h
|
||||
;;
|
||||
|
0
libjava/java/lang/Win32Process.java
Normal file
0
libjava/java/lang/Win32Process.java
Normal file
0
libjava/java/lang/natWin32Process.cc
Normal file
0
libjava/java/lang/natWin32Process.cc
Normal file
Loading…
x
Reference in New Issue
Block a user