configure.ac (--enable-objc-gc): If not given, default to enable_objc_gc=no.

* configure.ac (--enable-objc-gc): If not given, default to
	enable_objc_gc=no.
	* configure: Regenerated.

From-SVN: r243010
This commit is contained in:
Jakub Jelinek 2016-11-30 12:42:04 +01:00
parent cc46bc4340
commit ac02e9a821
3 changed files with 11 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2016-11-30 Jakub Jelinek <jakub@redhat.com>
* configure.ac (--enable-objc-gc): If not given, default to
enable_objc_gc=no.
* configure: Regenerated.
2016-11-30 Matthias Klose <doko@ubuntu.com>
* configure.ac (--enable-objc-gc): Allow to configure with a
@ -5,8 +11,8 @@
* configure: Regenerate.
* Makefile.in (OBJC_BOEHM_GC_LIBS): Get value from configure.
* gc.c: Include system bdw-gc headers.
* memory.c: Likewise
* objects.c: Likewise
* memory.c: Likewise.
* objects.c: Likewise.
2016-11-15 Matthias Klose <doko@ubuntu.com>

2
libobjc/configure vendored
View File

@ -11509,6 +11509,8 @@ $as_echo "#define HAVE_BITFIELD_TYPE_MATTERS 1" >>confdefs.h
# Check whether --enable-objc-gc was given.
if test "${enable_objc_gc+set}" = set; then :
enableval=$enable_objc_gc;
else
enable_objc_gc=no
fi

View File

@ -203,7 +203,7 @@ gt_BITFIELD_TYPE_MATTERS
AC_ARG_ENABLE(objc-gc,
[AS_HELP_STRING([--enable-objc-gc],
[enable use of Boehm's garbage collector with the
GNU Objective-C runtime])])
GNU Objective-C runtime])],,enable_objc_gc=no)
AC_ARG_WITH([target-bdw-gc],
[AS_HELP_STRING([--with-target-bdw-gc=PATHLIST],
[specify prefix directory for installed bdw-gc package.