From 6ee4845eb24d18c98ad6f8db24cdb4a8f90bcc49 Mon Sep 17 00:00:00 2001 From: ivmai Date: Fri, 25 Sep 2009 07:48:30 +0000 Subject: [PATCH] 2009-09-25 Ivan Maidanski (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. --- ChangeLog | 7 +++++++ Makefile.am | 2 +- configure.ac | 9 +++++---- 3 files changed, 13 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 71f05fd4..0e52fe2e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2009-09-25 Ivan Maidanski (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 * checksums.c (GC_checksum, GC_update_check_page): Remove diff --git a/Makefile.am b/Makefile.am index 8e702a6c..6080a971 100644 --- a/Makefile.am +++ b/Makefile.am @@ -23,7 +23,7 @@ # 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@ diff --git a/configure.ac b/configure.ac index 5985c3a7..3282e6af 100644 --- a/configure.ac +++ b/configure.ac @@ -22,7 +22,7 @@ AC_INIT(gc,7.2alpha3,Hans.Boehm@hp.com) 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]) @@ -69,7 +69,7 @@ AC_ARG_ENABLE(parallel-mark, 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.]) @@ -77,6 +77,7 @@ AH_TEMPLATE([USE_COMPILER_TLS], [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.]) @@ -222,8 +223,8 @@ case "$THREADS" in 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 -- 2.40.0