+2009-09-25 Ivan Maidanski <ivmai@mail.ru> (really mostly Petter Urkedal)
+
+ * configure.ac: Add documentation to AC_DEFINE for GC_THREADS and
+ EMPTY_GETENV_RESULTS.
+ * configure.ac: Fix a typo.
+ * Makefile.am: Ditto.
+
2009-09-25 Ivan Maidanski <ivmai@mail.ru>
* checksums.c (GC_checksum, GC_update_check_page): Remove
# use the internal version. This is done since libatomic_ops doesn't
# use libtool, since it has no real use for it. But that seems to make
# it hard to use either the resulting object files or libraries.
-# Thus there seems too be no real reason to recusively build in the
+# Thus there seems too be no real reason to recursively build in the
# libatomic_ops directory.
# if USE_INTERNAL_LIBATOMICS_OPS
# SUBDIRS = @maybe_libatomic_ops@
AC_CONFIG_SRCDIR(gcj_mlc.c)
AC_CANONICAL_TARGET
AC_PREREQ(2.53)
-AC_REVISION($Revision: 1.48 $)
+AC_REVISION($Revision: 1.49 $)
GC_SET_VERSION
AM_INIT_AUTOMAKE([foreign dist-bzip2 subdir-objects nostdinc])
AM_CONFIG_HEADER([include/private/config.h])
AC_ARG_ENABLE(cplusplus,
[AC_HELP_STRING([--enable-cplusplus], [install C++ support])])
-dnl Features which may be selected in the folliwng thread-detection switch.
+dnl Features which may be selected in the following thread-detection switch.
AH_TEMPLATE([PARALLEL_MARK], [Define to enable parallel marking.])
AH_TEMPLATE([THREAD_LOCAL_ALLOC],
[Define to enable thread-local allocation optimisation.])
[Define to use of compiler-support for thread-local variables.])
dnl Thread selection macros.
+AH_TEMPLATE([GC_THREADS], [Define to support threads.])
AH_TEMPLATE([GC_AIX_THREADS], [Define to support IBM AIX threads.])
AH_TEMPLATE([GC_DARWIN_THREADS], [Define to support Darwin pthreads.])
AH_TEMPLATE([GC_FREEBSD_THREADS], [Define to support FreeBSD pthreads.])
AC_DEFINE(THREAD_LOCAL_ALLOC)
fi
win32_threads=true
- dnl Wine getenv may not return NULL for missing entry
- AC_DEFINE(EMPTY_GETENV_RESULTS)
+ AC_DEFINE([EMPTY_GETENV_RESULTS], [1],
+ [Wine getenv may not return NULL for missing entry])
;;
dgux386)
THREADS=dgux386