> On 20 Nov 2016, at 20:42, Matthias Klose <d...@ubuntu.com> wrote:
> 
> On 10.10.2016 09:58, Iain Sandoe wrote:
>> 

>> The point here was to simplify the dependent configury so that it only needs 
>> to test something that the configuring user specifies (i.e. if they specify 
>> objc-gc, then they need also to specify the place that the gc lib can be 
>> found).
> 
> So here is the next proposal, I hope the added documentation in install.texi
> makes the usage clear.

thanks for working on this!

> 
> <toplevel>
> 
> 2016-11-19  Matthias Klose  <d...@ubuntu.com>
> 
>       * Makefile.def: Remove reference to boehm-gc target module.
>       * configure.ac: Include pkg.m4, check for --with-target-bdw-gc
>       options and for the bdw-gc pkg-config module.
>       * configure: Regenerate.
>       * Makefile.in: Regenerate.


+AC_ARG_ENABLE(objc-gc,
+[AS_HELP_STRING([--enable-objc-gc],
+               [enable use of Boehm's garbage collector with the
+                GNU Objective-C runtime])])
+AC_ARG_WITH([target-bdw-gc],
+[AS_HELP_STRING([--with-target-bdw-gc=PATHLIST],
+               [specify prefix directory for installed bdw-gc package.
+                Equivalent to --with-bdw-gc-include=PATH/include
+                plus --with-bdw-gc-lib=PATH/lib])])

missing “target” in the --with-bdw-gc-*

> 
> gcc/
> 
> 2016-11-19  Matthias Klose  <d...@ubuntu.com>
> 
>       * doc/install.texi: Document configure options --enable-objc-gc
>       and --with-target-bdw-gc.

As per Sandra’s comment,  should we understand the priority of options is

--with-target-bdw-gc-*

which overrides…

--with-target-bdw-gc=<list>

which overrides automatic discovery using pkg_config?

Iain



Reply via email to