diff options
author | Tor Lillqvist <tml@iki.fi> | 2001-09-26 06:20:31 +0000 |
---|---|---|
committer | Tor Lillqvist <tml@src.gnome.org> | 2001-09-26 06:20:31 +0000 |
commit | 44d87afb02f6451a422c3bc44b0f5350fde3ce4a (patch) | |
tree | 6b040dd9a33533b29cb700f9ee12b2a9382a2ce6 /config.h.win32.in | |
parent | 10540153e0f3dacd21d74a9ead55c5ecd62f973b (diff) |
Move the Win32 check closer to the start, after the BeOS checks. Preset
2001-09-26 Tor Lillqvist <tml@iki.fi>
* configure.in: (Win32:) Move the Win32 check closer to the start,
after the BeOS checks. Preset some autoconf variables so that
configure won't find those few headers and functions that gcc
(mingw) pretends to implement (even if the actual C library
doesn't), but MSVC doesn't. This because I want the same config.h
and glibconfig.h to be usable both from gcc and MSVC (as they use
the same C library). Some other minor hackery for this purpose.
* glibconfig.h.win32.in
* config.h.win32.in: Use versions generated by configure (and
hand-edited slightly).
Diffstat (limited to 'config.h.win32.in')
-rw-r--r-- | config.h.win32.in | 405 |
1 files changed, 323 insertions, 82 deletions
diff --git a/config.h.win32.in b/config.h.win32.in index a6360abee..8f753e0f9 100644 --- a/config.h.win32.in +++ b/config.h.win32.in @@ -1,137 +1,378 @@ -/* config.h.win32. Handcrafted for the Microsoft C library. */ +/* config.h.win32. Pregenerated . */ +/* config.h.in. Generated from configure.in by autoheader. */ +/* GLIB - Library of useful routines for C programming + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 59 Temple Place - Suite 330, + * Boston, MA 02111-1307, USA. + */ +/* acconfig.h + This file is in the public domain. + + Descriptive text for the C preprocessor macros that + the distributed Autoconf macros can define. + No software package will use all of them; autoheader copies the ones + your configure.in uses into your configuration header file templates. + + The entries are in sort -df order: alphabetical, case insensitive, + ignoring punctuation (such as underscores). Although this order + can split up related entries, it makes it easier to check whether + a given entry is in the file. + + Leave the following blank line there!! Autoheader needs it. */ + + +/* Other stuff */ + +/* #undef PACKAGE */ +/* #undef VERSION */ + + +/* Leave that blank line there!! Autoheader needs it. + If you're adding to this file, keep in mind: + The entries are in sort -df order: alphabetical, case insensitive, + ignoring punctuation (such as underscores). */ -/* Define to empty if the keyword does not work. */ -/* #undef const */ +#define ENABLE_NLS 1 +#define GETTEXT_PACKAGE "@GETTEXT_PACKAGE@" +#define GLIB_LOCALE_DIR "NONE/lib/locale" +#define HAVE_GETTEXT 1 +/* #undef HAVE_LC_MESSAGES */ +#define SANE_MALLOC_PROTOS 1 +#define USE_LIBICONV 1 -/* Define if you don't have vprintf but do have _doprnt. */ -/* #undef HAVE_DOPRNT */ +/* 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 the vprintf function. */ -#define HAVE_VPRINTF 1 +/* Define if using `alloca.c'. */ +/* #undef C_ALLOCA */ -/* Define if you have the ANSI C header files. */ -#define STDC_HEADERS 1 +/* Whether to disable memory pools */ +/* #undef DISABLE_MEM_POOLS */ -/* Define if your processor stores words with the most significant - byte first (like Motorola and SPARC, unlike Intel and VAX). */ -/* #undef WORDS_BIGENDIAN */ +/* Whether to enable GC friendliness */ +/* #undef ENABLE_GC_FRIENDLY */ -/* #undef ENABLE_MEM_CHECK */ -/* #undef ENABLE_MEM_PROFILE */ +/* Define to the GLIB binary age */ +#define GLIB_BINARY_AGE @GLIB_BINARY_AGE@ -#define G_COMPILED_WITH_DEBUGGING "minimum" +/* Byte contents of gmutex */ +/* #undef GLIB_BYTE_CONTENTS_GMUTEX */ -/* #undef HAVE_BROKEN_WCTYPE */ -/* #undef HAVE_DOPRNT */ -#define HAVE_GETCWD 1 -/* #undef HAVE_LOCALTIME_R */ -/* #undef HAVE_LONG_DOUBLE */ -/* #undef HAVE_POLL */ -/* #undef HAVE_SYS_POLL_H */ -#define HAVE_STRERROR 1 -#define HAVE_VPRINTF 1 -#define HAVE_WCHAR_H 1 -#define HAVE_WCTYPE_H 1 +/* Define to the GLIB interface age */ +#define GLIB_INTERFACE_AGE @GLIB_INTERFACE_AGE@ -/* #undef NO_FD_SET */ -/* #undef NO_SYS_ERRLIST */ -#define NO_SYS_SIGLIST 1 +/* Define to the GLIB major version */ +#define GLIB_MAJOR_VERSION @GLIB_MAJOR_VERSION@ -/* #undef G_VA_COPY */ -/* #undef G_VA_COPY_AS_ARRAY */ -#define G_HAVE___INLINE 1 +/* Define to the GLIB micro version */ +#define GLIB_MICRO_VERSION @GLIB_MINOR_VERSION@ -#define GLIB_MAJOR_VERSION @GLIB_MAJOR_VERSION@ -#define GLIB_MINOR_VERSION @GLIB_MINOR_VERSION@ -#define GLIB_MICRO_VERSION @GLIB_MICRO_VERSION@ -#define GLIB_INTERFACE_AGE @GLIB_INTERFACE_AGE@ -#define GLIB_BINARY_AGE @GLIB_BINARY_AGE@ +/* Define to the GLIB minor version */ +#define GLIB_MINOR_VERSION @GLIB_MICRO_VERSION@ -#define GLIB_SIZEOF_SYSTEM_THREAD 4 -#define GLIB_SIZEOF_SIZE_T 4 +/* Size of gmutex */ +/* #undef GLIB_SIZEOF_GMUTEX */ + +/* Size of intmax_t */ +#define GLIB_SIZEOF_INTMAX_T 0 + +/* Size of ptrdiff_t */ #define GLIB_SIZEOF_PTRDIFF_T 4 -#define GLIB_SIZEOF_INTMAX_T 4 +/* Size of size_t */ +#define GLIB_SIZEOF_SIZE_T 4 + +/* Size of system_thread */ +#define GLIB_SIZEOF_SYSTEM_THREAD 4 + +/* Whether glib was compiled with debugging enabled */ +#define G_COMPILED_WITH_DEBUGGING "yes" + +/* Have inline keyword */ +/* #undef G_HAVE_INLINE */ + +/* Have __inline keyword */ +#define G_HAVE___INLINE 1 + +/* Have __inline__ keyword */ +/* #undef G_HAVE___INLINE__ */ + +/* Source file containing theread implementation */ #define G_THREAD_SOURCE "gthread-win32.c" -/* The number of bytes in a char. */ -#define SIZEOF_CHAR 1 +/* whether to use the PID niceness surrogate for thread priorities */ +/* #undef G_THREAD_USE_PID_SURROGATE */ -/* The number of bytes in a int. */ -#define SIZEOF_INT 4 +/* A 'va_copy' style function */ +/* #undef G_VA_COPY */ -/* The number of bytes in a long. */ -#define SIZEOF_LONG 4 +/* 'va_lists' cannot be copies as values */ +/* #undef G_VA_COPY_AS_ARRAY */ -/* The number of bytes in a long long. */ -#define SIZEOF_LONG_LONG 8 +/* Define if you have `alloca', as a function or macro. */ +#define HAVE_ALLOCA 1 -/* The number of bytes in a short. */ -#define SIZEOF_SHORT 2 +/* Define if you have <alloca.h> and it should be used (not on Ultrix). */ +/* #undef HAVE_ALLOCA_H */ -/* The number of bytes in a void *. */ -#define SIZEOF_VOID_P 4 +/* Define if you have the <argz.h> header file. */ +/* #undef HAVE_ARGZ_H */ -/* Define if you have the atexit function. */ +/* Define if you have the `atexit' function. */ #define HAVE_ATEXIT 1 -/* Define if you have the lstat function. */ +/* Have nl_langinfo (CODESET) */ +/* #undef HAVE_CODESET */ + +/* Define if you have the `dcgettext' function. */ +#define HAVE_DCGETTEXT 1 + +/* Define if you have the <dlfcn.h> header file. */ +/* #undef HAVE_DLFCN_H */ + +/* Define if you don't have `vprintf' but do have `_doprnt.' */ +/* #undef HAVE_DOPRNT */ + +/* Define if you have the <float.h> header file. */ +#define HAVE_FLOAT_H 1 + +/* Define if you have the `getcwd' function. */ +#define HAVE_GETCWD 1 + +/* Define if you have the `getpagesize' function. */ +/* #undef HAVE_GETPAGESIZE */ + +/* Define if you have the <inttypes.h> header file. */ +/* #undef HAVE_INTTYPES_H */ + +/* Define if you have the <limits.h> header file. */ +#define HAVE_LIMITS_H 1 + +/* Define if you have the <locale.h> header file. */ +#define HAVE_LOCALE_H 1 + +/* Define if you have the `localtime_r' function. */ +/* #undef HAVE_LOCALTIME_R */ + +/* Define if you have the `lstat' function. */ /* #undef HAVE_LSTAT */ -/* Define if you have the memmove function. */ +/* Define if you have the <malloc.h> header file. */ +#define HAVE_MALLOC_H 1 + +/* Define if you have the `memmove' function. */ #define HAVE_MEMMOVE 1 -/* Define if you have the on_exit function. */ +/* Define if you have the <memory.h> header file. */ +#define HAVE_MEMORY_H 1 + +/* Define if you have the `mkstemp' function. */ +/* #undef HAVE_MKSTEMP */ + +/* Define if you have a working `mmap' system call. */ +/* #undef HAVE_MMAP */ + +/* Define if you have the `munmap' function. */ +/* #undef HAVE_MUNMAP */ + +/* Define if you have the `nanosleep' function. */ +/* #undef HAVE_NANOSLEEP */ + +/* Define if you have the <nl_types.h> header file. */ +/* #undef HAVE_NL_TYPES_H */ + +/* Have non-POSIX function getpwuid_r */ +/* #undef HAVE_NONPOSIX_GETPWUID_R */ + +/* Define if you have the `on_exit' function. */ /* #undef HAVE_ON_EXIT */ -/* Define if you have the stpcpy function. */ +/* Define if you have the `poll' function. */ +/* #undef HAVE_POLL */ + +/* Have POSIX function getpwuid_r */ +/* #undef HAVE_POSIX_GETPWUID_R */ + +/* Have function pthread_attr_setstacksize */ +/* #undef HAVE_PTHREAD_ATTR_SETSTACKSIZE */ + +/* Define if you have the `putenv' function. */ +#define HAVE_PUTENV 1 + +/* Define if you have the <pwd.h> header file. */ +/* #undef HAVE_PWD_H */ + +/* Define if you have the <sched.h> header file. */ +/* #undef HAVE_SCHED_H */ + +/* Define if you have the `setenv' function. */ +/* #undef HAVE_SETENV */ + +/* Define if you have the `setlocale' function. */ +#define HAVE_SETLOCALE 1 + +/* Define if you have the <stdint.h> header file. */ +/* #undef HAVE_STDINT_H */ + +/* Define if you have the <stdlib.h> header file. */ +#define HAVE_STDLIB_H 1 + +/* Define if you have the `stpcpy' function. */ /* #undef HAVE_STPCPY */ -/* Define if you have the strcasecmp function. */ +/* Define if you have the `strcasecmp' function. */ /* #undef HAVE_STRCASECMP */ -/* Define if you have the strerror function. */ +/* Define if you have the `strchr' function. */ +#define HAVE_STRCHR 1 + +/* Define if you have the `strdup' function. */ +#define HAVE_STRDUP 1 + +/* Define if you have the `strerror' function. */ #define HAVE_STRERROR 1 -/* Define if you have the strsignal function. */ -/* #undef HAVE_STRSIGNAL */ +/* Define if you have the <strings.h> header file. */ +/* #undef HAVE_STRINGS_H */ -/* Define if you have the vsnprintf function. */ -/* #undef HAVE_VSNPRINTF */ +/* Define if you have the <string.h> header file. */ +#define HAVE_STRING_H 1 -/* Define if you have the <float.h> header file. */ -#define HAVE_FLOAT_H 1 +/* Have functions strlcpy and strlcat */ +/* #undef HAVE_STRLCPY */ -/* Define if you have the <limits.h> header file. */ -#define HAVE_LIMITS_H 1 +/* Define if you have the `strncasecmp' function. */ +/* #undef HAVE_STRNCASECMP */ -/* Define if you have the <pwd.h> header file. */ -/* #undef HAVE_PWD_H */ +/* Define if you have the `strsignal' function. */ +/* #undef HAVE_STRSIGNAL */ -/* Define if you have the <sys/param.h> header file. */ +/* Define if you have the <sys/param.h> header file. */ /* #undef HAVE_SYS_PARAM_H */ -/* Define if you have the <sys/select.h> header file. */ +/* Define if you have the <sys/poll.h> header file. */ +/* #undef HAVE_SYS_POLL_H */ + +/* found fd_set in sys/select.h */ /* #undef HAVE_SYS_SELECT_H */ -/* Define if you have the <sys/time.h> header file. */ -/* #undef HAVE_SYS_TIME_H */ +/* Define if you have the <sys/stat.h> header file. */ +#define HAVE_SYS_STAT_H 1 -/* Define if you have the <sys/times.h> header file. */ +/* Define if you have the <sys/times.h> header file. */ /* #undef HAVE_SYS_TIMES_H */ -/* Define if you have the <unistd.h> header file. */ +/* 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. */ +#define HAVE_SYS_TYPES_H 1 + +/* Define if you have the <unistd.h> header file. */ /* #undef HAVE_UNISTD_H */ -/* Define if you have the <values.h> header file. */ +/* Define if you have the <values.h> header file. */ /* #undef HAVE_VALUES_H */ -/* Define if you have the w library (-lw). */ -/* #undef HAVE_LIBW */ +/* Define if you have the `vprintf' function. */ +#define HAVE_VPRINTF 1 -#define USE_LIBICONV 1 +/* Define if you have the `vsnprintf' function. */ +/* #undef HAVE_VSNPRINTF */ -#define ENABLE_NLS 1 +/* Have a working bcopy */ +/* #undef HAVE_WORKING_BCOPY */ -/* Dunno if this will expand correctly: */ -#define GETTEXT_PACKAGE "@GETTEXT_PACKAGE@" +/* Define if you have the `__argz_count' function. */ +/* #undef HAVE___ARGZ_COUNT */ + +/* Define if you have the `__argz_next' function. */ +/* #undef HAVE___ARGZ_NEXT */ + +/* Define if you have the `__argz_stringify' function. */ +/* #undef HAVE___ARGZ_STRINGIFY */ + +/* didn't find fd_set */ +#define NO_FD_SET 1 + +/* global 'sys_errlist' not found */ +#define NO_SYS_ERRLIST 1 + +/* global 'sys_siglist' not found */ +#define NO_SYS_SIGLIST 1 + +/* global 'sys_siglist' not declared */ +#define NO_SYS_SIGLIST_DECL 1 + +/* Maximum POSIX RT priority */ +/* #undef POSIX_MAX_PRIORITY */ + +/* Minimum POSIX RT priority */ +/* #undef POSIX_MIN_PRIORITY */ + +/* The POSIX RT yield function */ +/* #undef POSIX_YIELD_FUNC */ + +/* whether realloc (NULL,) works */ +#define REALLOC_0_WORKS 1 + +/* The size of a `char', as computed by sizeof. */ +#define SIZEOF_CHAR 1 + +/* The size of a `int', as computed by sizeof. */ +#define SIZEOF_INT 4 + +/* The size of a `long', as computed by sizeof. */ +#define SIZEOF_LONG 4 + +/* The size of a `long long', as computed by sizeof. */ +#define SIZEOF_LONG_LONG 8 + +/* The size of a `short', as computed by sizeof. */ +#define SIZEOF_SHORT 2 + +/* The size of a `void *', as computed by sizeof. */ +#define SIZEOF_VOID_P 4 + +/* 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. */ +#define STDC_HEADERS 1 + +/* Define if your processor stores words with the most significant byte first + (like Motorola and SPARC, unlike Intel and VAX). */ +/* #undef WORDS_BIGENDIAN */ + +/* Define to empty if `const' does not conform to ANSI C. */ +/* #undef const */ + +/* Define as `__inline' if that's what the C compiler calls it, or to nothing + if it is not supported. */ +#define inline __inline + +/* Define to `long' if <sys/types.h> does not define. */ +/* #undef off_t */ + +/* Define to `unsigned' if <sys/types.h> does not define. */ +/* #undef size_t */ |