From 8c3e5222e3716a8986ce0ece0f1237aa17a36ee3 Mon Sep 17 00:00:00 2001 From: David Ayers Date: Tue, 24 Jan 2006 22:57:22 +0100 Subject: re PR libobjc/13946 (ObjC configured --with-objc-gc needs external Boehm gc) 2006-01-24 David Ayers PR libobjc/13946 * configure.ac: Add include directives for --enable-objc-gc. * Makefile.in: Ditto. * configure: Regenerate. * gc.c (__objc_class_structure_encoding): Increment the used bytes instead of the local pointer to them. From-SVN: r110182 --- libobjc/configure.ac | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'libobjc/configure.ac') diff --git a/libobjc/configure.ac b/libobjc/configure.ac index b1b43ad12e3..bc3eb2da070 100644 --- a/libobjc/configure.ac +++ b/libobjc/configure.ac @@ -1,6 +1,6 @@ # Process this file with autoconf to produce a configure script. # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004 -# Free Software Foundation, Inc. +# 2005, 2006 Free Software Foundation, Inc. # Originally contributed by Dave Love (d.love@dl.ac.uk). # #This file is part of GCC. @@ -73,11 +73,18 @@ AC_ARG_ENABLE(objc-gc, [ --enable-objc-gc enable the use of Boehm's garbage collector with the GNU Objective-C runtime.], [case $enable_objc_gc in - no) OBJC_BOEHM_GC='' ;; - *) OBJC_BOEHM_GC=libobjc_gc.la ;; + no) + OBJC_BOEHM_GC='' + OBJC_BOEHM_GC_INCLUDES='' + ;; + *) + OBJC_BOEHM_GC=libobjc_gc.la + OBJC_BOEHM_GC_INCLUDES='-I$(top_srcdir)/../boehm-gc/include -I../boehm-gc/include' + ;; esac], -[OBJC_BOEHM_GC='']) +[OBJC_BOEHM_GC=''; OBJC_BOEHM_GC_INCLUDES='']) AC_SUBST(OBJC_BOEHM_GC) +AC_SUBST(OBJC_BOEHM_GC_INCLUDES) # ----------- # Directories -- cgit v1.2.1