mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 11:26:16 +01:00
18190575f8
2001-09-26 Tor Lillqvist <tml@iki.fi> * configure.in: Retract my change earlier today. Don't preset autoconf variables in a try to match both mingw and MSVC. Instead, he who packages a prebuilt GLib developer distribution for Win32 runs configure twice: once for mingw, once for MSVC, and then uses diff -D on the glibconfig.h files to generate a suitably ifdeffed glibconfig.h for distribution that suits both compilers. (Ditto for config.h, although that file wouldn't be distributed in a developer package, but in a source package for Win32 users who want to build GLib but can't use configure.) * glibconfig.h.win32.in * config.h.win32.in: Generated by using diff -D as described above. * tests/makefile.mingw.in (.c.exe): Correct name of gthread (import) library. gthread: 2001-09-26 Tor Lillqvist <tml@iki.fi> * makefile.mingw.in: Fix couple of typos. * gthread.def: Add g_thread_init_with_errorcheck_mutexes.
437 lines
12 KiB
Plaintext
437 lines
12 KiB
Plaintext
/* config.h.win32.in Merged from two version generated by configure. */
|
||
/* 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 ENABLE_NLS 1
|
||
#define GETTEXT_PACKAGE "@GETTEXT_PACKAGE@"
|
||
#define GLIB_LOCALE_DIR "NONE/lib/locale"
|
||
#define HAVE_GETTEXT 1
|
||
/* #undef HAVE_LC_MESSAGES */
|
||
#ifndef _MSC_VER
|
||
#define SANE_MALLOC_PROTOS 1
|
||
#else /* _MSC_VER */
|
||
/* #undef SANE_MALLOC_PROTOS */
|
||
#endif /* _MSC_VER */
|
||
#define USE_LIBICONV 1
|
||
|
||
/* 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 using `alloca.c'. */
|
||
/* #undef C_ALLOCA */
|
||
|
||
/* Whether to disable memory pools */
|
||
/* #undef DISABLE_MEM_POOLS */
|
||
|
||
/* Whether to enable GC friendliness */
|
||
/* #undef ENABLE_GC_FRIENDLY */
|
||
|
||
/* Define to the GLIB binary age */
|
||
#define GLIB_BINARY_AGE @GLIB_BINARY_AGE@
|
||
|
||
/* Byte contents of gmutex */
|
||
/* #undef GLIB_BYTE_CONTENTS_GMUTEX */
|
||
|
||
/* Define to the GLIB interface age */
|
||
#define GLIB_INTERFACE_AGE @GLIB_INTERFACE_AGE@
|
||
|
||
/* Define to the GLIB major version */
|
||
#define GLIB_MAJOR_VERSION @GLIB_MAJOR_VERSION@
|
||
|
||
/* Define to the GLIB micro version */
|
||
#define GLIB_MICRO_VERSION @GLIB_MINOR_VERSION@
|
||
|
||
/* Define to the GLIB minor version */
|
||
#define GLIB_MINOR_VERSION @GLIB_MICRO_VERSION@
|
||
|
||
/* Size of gmutex */
|
||
/* #undef GLIB_SIZEOF_GMUTEX */
|
||
|
||
/* Size of intmax_t */
|
||
#ifndef _MSC_VER
|
||
#define GLIB_SIZEOF_INTMAX_T 8
|
||
#else /* _MSC_VER */
|
||
#define GLIB_SIZEOF_INTMAX_T 0
|
||
#endif /* _MSC_VER */
|
||
|
||
/* Size of ptrdiff_t */
|
||
#define GLIB_SIZEOF_PTRDIFF_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 */
|
||
#ifndef _MSC_VER
|
||
#define G_HAVE_INLINE 1
|
||
#else /* _MSC_VER */
|
||
/* #undef G_HAVE_INLINE */
|
||
#endif /* _MSC_VER */
|
||
|
||
/* Have __inline keyword */
|
||
#define G_HAVE___INLINE 1
|
||
|
||
/* Have __inline__ keyword */
|
||
#ifndef _MSC_VER
|
||
#define G_HAVE___INLINE__ 1
|
||
#else /* _MSC_VER */
|
||
/* #undef G_HAVE___INLINE__ */
|
||
#endif /* _MSC_VER */
|
||
|
||
/* Source file containing theread implementation */
|
||
#define G_THREAD_SOURCE "gthread-win32.c"
|
||
|
||
/* whether to use the PID niceness surrogate for thread priorities */
|
||
/* #undef G_THREAD_USE_PID_SURROGATE */
|
||
|
||
/* A 'va_copy' style function */
|
||
/* #undef G_VA_COPY */
|
||
|
||
/* 'va_lists' cannot be copies as values */
|
||
/* #undef G_VA_COPY_AS_ARRAY */
|
||
|
||
/* Define if you have `alloca', as a function or macro. */
|
||
#define HAVE_ALLOCA 1
|
||
|
||
/* Define if you have <alloca.h> and it should be used (not on Ultrix). */
|
||
/* #undef HAVE_ALLOCA_H */
|
||
|
||
/* Define if you have the <argz.h> header file. */
|
||
/* #undef HAVE_ARGZ_H */
|
||
|
||
/* Define if you have the `atexit' function. */
|
||
#define HAVE_ATEXIT 1
|
||
|
||
/* 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. */
|
||
#ifndef _MSC_VER
|
||
#define HAVE_GETPAGESIZE 1
|
||
#else /* _MSC_VER */
|
||
/* #undef HAVE_GETPAGESIZE */
|
||
#endif /* _MSC_VER */
|
||
|
||
/* 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 <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 <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 `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. */
|
||
#ifndef _MSC_VER
|
||
#define HAVE_STDINT_H 1
|
||
#else /* _MSC_VER */
|
||
/* #undef HAVE_STDINT_H */
|
||
#endif /* _MSC_VER */
|
||
|
||
/* 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. */
|
||
#ifndef _MSC_VER
|
||
#define HAVE_STRCASECMP 1
|
||
#else /* _MSC_VER */
|
||
/* #undef HAVE_STRCASECMP */
|
||
#endif /* _MSC_VER */
|
||
|
||
/* 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 <strings.h> header file. */
|
||
/* #undef HAVE_STRINGS_H */
|
||
|
||
/* Define if you have the <string.h> header file. */
|
||
#define HAVE_STRING_H 1
|
||
|
||
/* Have functions strlcpy and strlcat */
|
||
/* #undef HAVE_STRLCPY */
|
||
|
||
/* Define if you have the `strncasecmp' function. */
|
||
#ifndef _MSC_VER
|
||
#define HAVE_STRNCASECMP 1
|
||
#else /* _MSC_VER */
|
||
/* #undef HAVE_STRNCASECMP */
|
||
#endif /* _MSC_VER */
|
||
|
||
/* Define if you have the `strsignal' function. */
|
||
/* #undef HAVE_STRSIGNAL */
|
||
|
||
/* Define if you have the <sys/param.h> header file. */
|
||
/* #undef HAVE_SYS_PARAM_H */
|
||
|
||
/* 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/stat.h> header file. */
|
||
#define HAVE_SYS_STAT_H 1
|
||
|
||
/* Define if you have the <sys/times.h> header file. */
|
||
/* #undef HAVE_SYS_TIMES_H */
|
||
|
||
/* Define if you have the <sys/time.h> header file. */
|
||
#ifndef _MSC_VER
|
||
#define HAVE_SYS_TIME_H 1
|
||
#else /* _MSC_VER */
|
||
/* #undef HAVE_SYS_TIME_H */
|
||
#endif /* _MSC_VER */
|
||
|
||
/* 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. */
|
||
#ifndef _MSC_VER
|
||
#define HAVE_UNISTD_H 1
|
||
#else /* _MSC_VER */
|
||
/* #undef HAVE_UNISTD_H */
|
||
#endif /* _MSC_VER */
|
||
|
||
/* Define if you have the <values.h> header file. */
|
||
#ifndef _MSC_VER
|
||
#define HAVE_VALUES_H 1
|
||
#else /* _MSC_VER */
|
||
/* #undef HAVE_VALUES_H */
|
||
#endif /* _MSC_VER */
|
||
|
||
/* Define if you have the `vasprintf' function. */
|
||
/* #undef HAVE_VASPRINTF */
|
||
|
||
/* Define if you have the `vprintf' function. */
|
||
#define HAVE_VPRINTF 1
|
||
|
||
/* Define if you have the `vsnprintf' function. */
|
||
/* #undef HAVE_VSNPRINTF */
|
||
|
||
/* Have a working bcopy */
|
||
/* #undef HAVE_WORKING_BCOPY */
|
||
|
||
/* 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. */
|
||
#ifndef _MSC_VER
|
||
#define SIZEOF_LONG_LONG 8
|
||
#else /* _MSC_VER */
|
||
#define SIZEOF_LONG_LONG 0
|
||
#endif /* _MSC_VER */
|
||
|
||
/* 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
|
||
|
||
/* The size of a `__int64', as computed by sizeof. */
|
||
#define SIZEOF___INT64 8
|
||
|
||
/* 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. */
|
||
#ifndef _MSC_VER
|
||
/* #undef inline */
|
||
#else /* _MSC_VER */
|
||
#define inline __inline
|
||
#endif /* _MSC_VER */
|
||
|
||
/* 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 */
|