[Gc]: Dependency tracking for configuration macros
urkedal at nbi.dk
Thu Oct 1 23:58:07 PDT 2009
On 2009-09-29, Petter Urkedal wrote:
> On 2009-09-29, Ivan Maidanski wrote:
> > Could you re-post the patch in this ML (if you think it should be applied to bdwgc)?
> Attached is the patch, excluding generated files. Log:
> * configure.ac: Rewrite the tests for external or internal
> * configure.ac: In particular, drop the symbolic links. Add option
> --with-libatomic-ops for forced selection.
> * Makefile.am: Adjust the path of source files from libatomic_ops to
> not use the links.
> * Makefile.am (libgc_la_LIBADD): Add $(ATOMIC_OPS_LIBS). This will be
> empty if we use the bundled AO sources.
I broke the distcheck target with this; good thing there were no need to
release yet. I was thinking about ways to fix it, like copying instead
of linking, but I think the cleanest solution is to disable the
compilation of object files into subdirectories:
* configure.ac: Drop the subdir-objects Automake option, since it's
incompatible with picking source files from libatomic_ops.
This option is nice, but not really important for libgc, since most of
the sources are in the same directory. Hopefully the last build fix for
-------------- next part --------------
diff --git a/configure.ac b/configure.ac
index f1dcd65..ff400f3 100644
@@ -24,7 +24,7 @@ AC_CANONICAL_TARGET
AC_REVISION($Revision: 1.51 $)
-AM_INIT_AUTOMAKE([foreign dist-bzip2 subdir-objects nostdinc])
+AM_INIT_AUTOMAKE([foreign dist-bzip2 nostdinc])
More information about the Gc