ACK On 11/7/2012 6:48 AM, Angus Salkeld wrote: > but allow the user to disable this. > > Signed-off-by: Angus Salkeld <asalkeld@xxxxxxxxxx> > --- > configure.ac | 16 ++++++++++++++++ > 1 file changed, 16 insertions(+) > > diff --git a/configure.ac b/configure.ac > index e4588d2..5346279 100644 > --- a/configure.ac > +++ b/configure.ac > @@ -25,6 +25,22 @@ AC_CANONICAL_HOST > > AC_LANG([C]) > > + > +#Enable inter-library dependencies > +AC_ARG_ENABLE(interlib-deps, > + [AC_HELP_STRING([--disable-interlib-deps ],[disable inter-library dependencies (might break builds)])], > + [enable_interlib_deps="$enableval"], > + [enable_interlib_deps="yes"]) > + > +AC_MSG_NOTICE([enable inter-library dependencies: $enable_interlib_deps]) > +if test "${enable_interlib_deps}" == "yes"; then > + link_all_deplibs=yes > + link_all_deplibs_CXX=yes > +else > + link_all_deplibs=no > + link_all_deplibs_CXX=no > +fi > + > dnl Fix default variables - "prefix" variable if not specified > if test "$prefix" = "NONE"; then > prefix="/usr" > _______________________________________________ discuss mailing list discuss@xxxxxxxxxxxx http://lists.corosync.org/mailman/listinfo/discuss