diff options
author | David Ayers <d.ayers@inode.at> | 2006-01-24 22:57:22 +0100 |
---|---|---|
committer | David Ayers <ayers@gcc.gnu.org> | 2006-01-24 21:57:22 +0000 |
commit | 8c3e5222e3716a8986ce0ece0f1237aa17a36ee3 (patch) | |
tree | 85fe1b7ee2078b5f5f57e2e3ff58875538077a45 /libobjc/configure.ac | |
parent | 18cbfd85b2bc95e46a7f71eb491dde7eee89e086 (diff) | |
download | gcc-8c3e5222e3716a8986ce0ece0f1237aa17a36ee3.tar.gz |
re PR libobjc/13946 (ObjC configured --with-objc-gc needs external Boehm gc)
2006-01-24 David Ayers <d.ayers@inode.at>
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
Diffstat (limited to 'libobjc/configure.ac')
-rw-r--r-- | libobjc/configure.ac | 15 |
1 files changed, 11 insertions, 4 deletions
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 |