83c02e38a3
* configure.in: Added new MinGW-specific configure flag --with-win32-nlsapi. Added new AC_DEFINE MINGW_LIBGCJ_UNICODE. Add -lunicows to MinGW SYSTEMSPEC if --with-win32-nlsapi is set to unicows. * configure: Rebuilt. * include/config.h.in: Rebuilt. * win32.cc (_Jv_Win32NewString): Implemented. (nativeToUnicode): New helper function defined only for non-UNICODE builds. (unicodeToNative): Likewise. (_Jv_Win32TempString): Implemented. (lots): Refactored using tchar.h macros. (WSAEventWrapper): Use _Jv_Win32NewString. (_Jv_platform_initialize): Use GetModuleFileNameA instead of GetModuleFileName. (_Jv_platform_initProperties): Use _Jv_Win32NewString. Use temporary stack buffer instead of a heap buffer. * include/win32.h Added defines for UNICODE and _UNICODE if MINGW_LIBGCJ_UNICODE is defined; added tchar.h include. (_Jv_Win32TempString): Declared new helper class. (JV_TEMP_STRING_WIN32): New helper macro. (_Jv_Win32NewString): Declared new helper method. * java/io/natFileDescriptorWin32.cc (open): Use JV_TEMP_STRING_WIN32 instead of JV_TEMP_UTF_STRING. (write): Reformatted slightly. * java/io/natFileWin32.cc (lots): Use tchar.h macros; use JV_TEMP_STRING_WIN32 instead of JV_TEMP_UTF_STRING. (getCanonicalPath): Use _Jv_Win32NewString instead of JvNewStringUTF. (performList): Likewise. * java/lang/natWin32Process.cc (ChildProcessPipe): Use tchar.h macros. (startProcess): Use tchar.h macros, JV_TEMP_STRING_WIN32, and UNICODE environment flag for CreateProcess. * java/net/natNetworkInterfaceWin32.cc (winsock2GetRealNetworkInterfaces): Use tchar.h macros and _Jv_Win32NewString. From-SVN: r74201
467 lines
12 KiB
C
467 lines
12 KiB
C
/* include/config.h.in. Generated automatically from configure.in by autoheader. */
|
|
|
|
/* Define if using alloca.c. */
|
|
#undef C_ALLOCA
|
|
|
|
/* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems.
|
|
This function is required for alloca.c support on those systems. */
|
|
#undef CRAY_STACKSEG_END
|
|
|
|
/* Define if you have alloca, as a function or macro. */
|
|
#undef HAVE_ALLOCA
|
|
|
|
/* Define if you have <alloca.h> and it should be used (not on Ultrix). */
|
|
#undef HAVE_ALLOCA_H
|
|
|
|
/* Define if you have a working `mmap' system call. */
|
|
#undef HAVE_MMAP
|
|
|
|
/* Define if you have <sys/wait.h> that is POSIX.1 compatible. */
|
|
#undef HAVE_SYS_WAIT_H
|
|
|
|
/* Define if your struct tm has tm_zone. */
|
|
#undef HAVE_TM_ZONE
|
|
|
|
/* Define if you don't have tm_zone but do have the external array
|
|
tzname. */
|
|
#undef HAVE_TZNAME
|
|
|
|
/* If using the C implementation of alloca, define if you know the
|
|
direction of stack growth for your system; otherwise it will be
|
|
automatically deduced at run-time.
|
|
STACK_DIRECTION > 0 => grows toward higher addresses
|
|
STACK_DIRECTION < 0 => grows toward lower addresses
|
|
STACK_DIRECTION = 0 => direction of growth unknown
|
|
*/
|
|
#undef STACK_DIRECTION
|
|
|
|
/* Define if you have the ANSI C header files. */
|
|
#undef STDC_HEADERS
|
|
|
|
/* Define if your <sys/time.h> declares struct tm. */
|
|
#undef TM_IN_SYS_TIME
|
|
|
|
/* Define if the X Window System is missing or not being used. */
|
|
#undef X_DISPLAY_MISSING
|
|
|
|
/* Define to `int' if `ssize_t' is not defined. */
|
|
#undef ssize_t
|
|
|
|
/* Define if you have the access function. */
|
|
#undef HAVE_ACCESS
|
|
|
|
/* Define if you have the chmod function. */
|
|
#undef HAVE_CHMOD
|
|
|
|
/* Define if you have the execvp function. */
|
|
#undef HAVE_EXECVP
|
|
|
|
/* Define if you have the fork function. */
|
|
#undef HAVE_FORK
|
|
|
|
/* Define if you have the fstat function. */
|
|
#undef HAVE_FSTAT
|
|
|
|
/* Define if you have the fsync function. */
|
|
#undef HAVE_FSYNC
|
|
|
|
/* Define if you have the ftime function. */
|
|
#undef HAVE_FTIME
|
|
|
|
/* Define if you have the ftruncate function. */
|
|
#undef HAVE_FTRUNCATE
|
|
|
|
/* Define if you have the getcwd function. */
|
|
#undef HAVE_GETCWD
|
|
|
|
/* Define if you have the gethostbyaddr_r function. */
|
|
#undef HAVE_GETHOSTBYADDR_R
|
|
|
|
/* Define if you have the gethostbyname_r function. */
|
|
#undef HAVE_GETHOSTBYNAME_R
|
|
|
|
/* Define if you have the gethostname function. */
|
|
#undef HAVE_GETHOSTNAME
|
|
|
|
/* Define if you have the getpagesize function. */
|
|
#undef HAVE_GETPAGESIZE
|
|
|
|
/* Define if you have the getpwuid_r function. */
|
|
#undef HAVE_GETPWUID_R
|
|
|
|
/* Define if you have the gettimeofday function. */
|
|
#undef HAVE_GETTIMEOFDAY
|
|
|
|
/* Define if you have the gmtime_r function. */
|
|
#undef HAVE_GMTIME_R
|
|
|
|
/* Define if you have the inet_addr function. */
|
|
#undef HAVE_INET_ADDR
|
|
|
|
/* Define if you have the inet_aton function. */
|
|
#undef HAVE_INET_ATON
|
|
|
|
/* Define if you have the inet_ntoa function. */
|
|
#undef HAVE_INET_NTOA
|
|
|
|
/* Define if you have the inet_pton function. */
|
|
#undef HAVE_INET_PTON
|
|
|
|
/* Define if you have the ioctl function. */
|
|
#undef HAVE_IOCTL
|
|
|
|
/* Define if you have the localtime_r function. */
|
|
#undef HAVE_LOCALTIME_R
|
|
|
|
/* Define if you have the memcpy function. */
|
|
#undef HAVE_MEMCPY
|
|
|
|
/* Define if you have the memmove function. */
|
|
#undef HAVE_MEMMOVE
|
|
|
|
/* Define if you have the mkdir function. */
|
|
#undef HAVE_MKDIR
|
|
|
|
/* Define if you have the nl_langinfo function. */
|
|
#undef HAVE_NL_LANGINFO
|
|
|
|
/* Define if you have the open function. */
|
|
#undef HAVE_OPEN
|
|
|
|
/* Define if you have the opendir function. */
|
|
#undef HAVE_OPENDIR
|
|
|
|
/* Define if you have the pipe function. */
|
|
#undef HAVE_PIPE
|
|
|
|
/* Define if you have the pthread_mutexattr_setkind_np function. */
|
|
#undef HAVE_PTHREAD_MUTEXATTR_SETKIND_NP
|
|
|
|
/* Define if you have the pthread_mutexattr_settype function. */
|
|
#undef HAVE_PTHREAD_MUTEXATTR_SETTYPE
|
|
|
|
/* Define if you have the readdir_r function. */
|
|
#undef HAVE_READDIR_R
|
|
|
|
/* Define if you have the realpath function. */
|
|
#undef HAVE_REALPATH
|
|
|
|
/* Define if you have the rename function. */
|
|
#undef HAVE_RENAME
|
|
|
|
/* Define if you have the rmdir function. */
|
|
#undef HAVE_RMDIR
|
|
|
|
/* Define if you have the sched_yield function. */
|
|
#undef HAVE_SCHED_YIELD
|
|
|
|
/* Define if you have the select function. */
|
|
#undef HAVE_SELECT
|
|
|
|
/* Define if you have the setlocale function. */
|
|
#undef HAVE_SETLOCALE
|
|
|
|
/* Define if you have the sigaction function. */
|
|
#undef HAVE_SIGACTION
|
|
|
|
/* Define if you have the sleep function. */
|
|
#undef HAVE_SLEEP
|
|
|
|
/* Define if you have the stat function. */
|
|
#undef HAVE_STAT
|
|
|
|
/* Define if you have the strerror function. */
|
|
#undef HAVE_STRERROR
|
|
|
|
/* Define if you have the time function. */
|
|
#undef HAVE_TIME
|
|
|
|
/* Define if you have the uname function. */
|
|
#undef HAVE_UNAME
|
|
|
|
/* Define if you have the unlink function. */
|
|
#undef HAVE_UNLINK
|
|
|
|
/* Define if you have the usleep function. */
|
|
#undef HAVE_USLEEP
|
|
|
|
/* Define if you have the utime function. */
|
|
#undef HAVE_UTIME
|
|
|
|
/* Define if you have the <arpa/inet.h> header file. */
|
|
#undef HAVE_ARPA_INET_H
|
|
|
|
/* Define if you have the <bstring.h> header file. */
|
|
#undef HAVE_BSTRING_H
|
|
|
|
/* Define if you have the <dirent.h> header file. */
|
|
#undef HAVE_DIRENT_H
|
|
|
|
/* Define if you have the <dlfcn.h> header file. */
|
|
#undef HAVE_DLFCN_H
|
|
|
|
/* Define if you have the <execinfo.h> header file. */
|
|
#undef HAVE_EXECINFO_H
|
|
|
|
/* Define if you have the <fcntl.h> header file. */
|
|
#undef HAVE_FCNTL_H
|
|
|
|
/* Define if you have the <inttypes.h> header file. */
|
|
#undef HAVE_INTTYPES_H
|
|
|
|
/* Define if you have the <langinfo.h> header file. */
|
|
#undef HAVE_LANGINFO_H
|
|
|
|
/* Define if you have the <locale.h> header file. */
|
|
#undef HAVE_LOCALE_H
|
|
|
|
/* Define if you have the <net/if.h> header file. */
|
|
#undef HAVE_NET_IF_H
|
|
|
|
/* Define if you have the <netdb.h> header file. */
|
|
#undef HAVE_NETDB_H
|
|
|
|
/* Define if you have the <netinet/in.h> header file. */
|
|
#undef HAVE_NETINET_IN_H
|
|
|
|
/* Define if you have the <pwd.h> header file. */
|
|
#undef HAVE_PWD_H
|
|
|
|
/* Define if you have the <stdint.h> header file. */
|
|
#undef HAVE_STDINT_H
|
|
|
|
/* Define if you have the <sys/config.h> header file. */
|
|
#undef HAVE_SYS_CONFIG_H
|
|
|
|
/* Define if you have the <sys/filio.h> header file. */
|
|
#undef HAVE_SYS_FILIO_H
|
|
|
|
/* Define if you have the <sys/ioctl.h> header file. */
|
|
#undef HAVE_SYS_IOCTL_H
|
|
|
|
/* Define if you have the <sys/select.h> header file. */
|
|
#undef HAVE_SYS_SELECT_H
|
|
|
|
/* Define if you have the <sys/socket.h> header file. */
|
|
#undef HAVE_SYS_SOCKET_H
|
|
|
|
/* Define if you have the <sys/stat.h> header file. */
|
|
#undef HAVE_SYS_STAT_H
|
|
|
|
/* Define if you have the <sys/time.h> header file. */
|
|
#undef HAVE_SYS_TIME_H
|
|
|
|
/* Define if you have the <sys/types.h> header file. */
|
|
#undef HAVE_SYS_TYPES_H
|
|
|
|
/* Define if you have the <unistd.h> header file. */
|
|
#undef HAVE_UNISTD_H
|
|
|
|
/* Name of package */
|
|
#undef PACKAGE
|
|
|
|
/* Version number of package */
|
|
#undef VERSION
|
|
|
|
/* Define if libltdl is in use. */
|
|
#undef USE_LTDL
|
|
|
|
/* Define if system properties shouldn't be read from getenv(GCJ_PROPERTIES). */
|
|
#undef DISABLE_GETENV_PROPERTIES
|
|
|
|
/* Define if we should ignore arguments to main(). */
|
|
#undef DISABLE_MAIN_ARGS
|
|
|
|
/* Define if MinGW libgcj uses the Windows UNICODE OS API. */
|
|
#undef MINGW_LIBGCJ_UNICODE
|
|
|
|
/* Define if if the synchronization code should try to avoid pthread_self calls by caching thread IDs in a hashtable. */
|
|
#undef SLOW_PTHREAD_SELF
|
|
|
|
/* Define this if you want runtime debugging enabled. */
|
|
#undef DEBUG
|
|
|
|
/* Define if you want a bytecode interpreter. */
|
|
#undef INTERPRETER
|
|
|
|
/* Define if the compiler is configured for setjmp/longjmp exceptions. */
|
|
#undef SJLJ_EXCEPTIONS
|
|
|
|
/* Define if java.net native functions should be stubbed out. */
|
|
#undef DISABLE_JAVA_NET
|
|
|
|
/* Define if we're to use libffi. */
|
|
#undef USE_LIBFFI
|
|
|
|
/* Define if you are using JVMPI. */
|
|
#undef ENABLE_JVMPI
|
|
|
|
/* Indicate that linker is not able to 8-byte align static data */
|
|
#undef JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS
|
|
|
|
/* Define if you're running eCos. */
|
|
#undef ECOS
|
|
|
|
/* Define if you have int32_t and uint32_t. */
|
|
#undef HAVE_INT32_DEFINED
|
|
|
|
/* Define if you have int32_t and uint32_t. */
|
|
#undef HAVE_INT32_DEFINED
|
|
|
|
/* Define if you have u_int32_t */
|
|
#undef HAVE_BSD_INT32_DEFINED
|
|
|
|
/* Define if you have u_int32_t */
|
|
#undef HAVE_BSD_INT32_DEFINED
|
|
|
|
/* Define is you have 'mktime' in <time.h> */
|
|
#undef HAVE_MKTIME
|
|
|
|
/* Define is you have 'localtime' in <time.h> */
|
|
#undef HAVE_LOCALTIME
|
|
|
|
/* Define if Boehm GC in use. */
|
|
#undef HAVE_BOEHM_GC
|
|
|
|
/* Define if using POSIX threads on Linux. */
|
|
#undef LINUX_THREADS
|
|
|
|
/* Define if using POSIX threads that have the mutexattr functions. */
|
|
#undef HAVE_PTHREAD_MUTEXATTR_INIT
|
|
|
|
/* Required define if using POSIX threads */
|
|
#undef _REENTRANT
|
|
|
|
/* Required define if using POSIX threads */
|
|
#undef _POSIX_PTHREAD_SEMANTICS
|
|
|
|
/* Define if hash synchronization is in use */
|
|
#undef JV_HASH_SYNCHRONIZATION
|
|
|
|
/* Define if you have memmove. */
|
|
#undef HAVE_MEMMOVE
|
|
|
|
/* Define if you have memcpy. */
|
|
#undef HAVE_MEMCPY
|
|
|
|
/* Define if you have strerror. */
|
|
#undef HAVE_STRERROR
|
|
|
|
/* Define if you have time. */
|
|
#undef HAVE_TIME
|
|
|
|
/* Define if you have the 'gmtime_r' function */
|
|
#undef HAVE_GMTIME_R
|
|
|
|
/* Define if you have the 'localtime_r' function. */
|
|
#undef HAVE_LOCALTIME_R
|
|
|
|
/* Define if usleep is declared in <unistd.h>. */
|
|
#undef HAVE_USLEEP_DECL
|
|
|
|
/* Define if using POSIX threads that have the mutexattr functions. */
|
|
#undef HAVE_PTHREAD_MUTEXATTR_INIT
|
|
|
|
/* Define if getuid() and friends are missing. */
|
|
#undef NO_GETUID
|
|
|
|
/* Define if your platform has a working backtrace() function. */
|
|
#undef HAVE_BACKTRACE
|
|
|
|
/* Define if your platform has a working backtrace() function. */
|
|
#undef HAVE_BACKTRACE
|
|
|
|
/* Define if your platform has a working backtrace() function. */
|
|
#undef HAVE_BACKTRACE
|
|
|
|
/* Define if you have dladdr() */
|
|
#undef HAVE_DLADDR
|
|
|
|
/* Define if you have /proc/self/exe */
|
|
#undef HAVE_PROC_SELF_EXE
|
|
|
|
/* Define if you have /proc/self/exe */
|
|
#undef HAVE_PROC_SELF_EXE
|
|
|
|
/* Define if you have the iconv() function. */
|
|
#undef HAVE_ICONV
|
|
|
|
/* Define as const if the declaration of iconv() needs const. */
|
|
#undef ICONV_CONST
|
|
|
|
/* Define if your <locale.h> file defines LC_MESSAGES. */
|
|
#undef HAVE_LC_MESSAGES
|
|
|
|
/* Define if you have the 'gethostbyname_r' function. */
|
|
#undef HAVE_GETHOSTBYNAME_R
|
|
|
|
/* Define if gethostbyname_r returns 'int'. */
|
|
#undef GETHOSTBYNAME_R_RETURNS_INT
|
|
|
|
/* Required define if using POSIX threads */
|
|
#undef _REENTRANT
|
|
|
|
/* Define if struct hostent_data is defined in netdb.h */
|
|
#undef HAVE_STRUCT_HOSTENT_DATA
|
|
|
|
/* Define if you have the 'gethostbyaddr_r' function. */
|
|
#undef HAVE_GETHOSTBYADDR_R
|
|
|
|
/* Define if gethostbyaddr_r returns 'int'. */
|
|
#undef GETHOSTBYADDR_R_RETURNS_INT
|
|
|
|
/* Define if you have the 'gethostname' function. */
|
|
#undef HAVE_GETHOSTNAME
|
|
|
|
/* Define if gethostname is declared in <unistd.h>. */
|
|
#undef HAVE_GETHOSTNAME_DECL
|
|
|
|
/* Define if usleep is declared in <unistd.h>. */
|
|
#undef HAVE_USLEEP_DECL
|
|
|
|
/* Define if pthread_mutex_t has m_count member. */
|
|
#undef PTHREAD_MUTEX_HAVE_M_COUNT
|
|
|
|
/* Define if pthread_mutex_t has __m_count member. */
|
|
#undef PTHREAD_MUTEX_HAVE___M_COUNT
|
|
|
|
/* Define if dlopen is available */
|
|
#undef HAVE_DLOPEN
|
|
|
|
/* The number of bytes in type void * */
|
|
#undef SIZEOF_VOID_P
|
|
|
|
/* Short GCJ version ID */
|
|
#undef GCJVERSION
|
|
|
|
/* Define if <inttypes.h> is available */
|
|
#undef HAVE_INTTYPES_H
|
|
|
|
/* Define if <inttypes.h> is available */
|
|
#undef JV_HAVE_INTTYPES_H
|
|
|
|
/* Define to 1 if 'in_addr_t' is defined in sys/types.h or netinet/in.h. */
|
|
#undef HAVE_IN_ADDR_T
|
|
|
|
/* Define if struct ip_mreq is defined in netinet/in.h. */
|
|
#undef HAVE_STRUCT_IP_MREQ
|
|
|
|
/* Define if struct ipv6_mreq is defined in netinet/in.h. */
|
|
#undef HAVE_STRUCT_IPV6_MREQ
|
|
|
|
/* Define if inet6 structures are defined in netinet/in.h. */
|
|
#undef HAVE_INET6
|
|
|
|
/* Define it socklen_t typedef is in sys/socket.h. */
|
|
#undef HAVE_SOCKLEN_T
|
|
|
|
/* Define if struct tm has tm_gmtoff field. */
|
|
#undef STRUCT_TM_HAS_GMTOFF
|
|
|
|
/* Define if global 'timezone' exists. */
|
|
#undef HAVE_TIMEZONE
|
|
|
|
/* Define if your platform has the global _timezone variable. */
|
|
#undef HAVE_UNDERSCORE_TIMEZONE
|
|
|