Ross Burton writes: > if WITH_DBUS > test_LDADD = $top_srcdir/addressbook/libebook-dbus/libebook.la > else > test_LDADD = $top_srcdir/addressbook/libebook/libebook.la > endif
Why not something like this in configure.in: if test $with_dbus = yes; then API_ALTERNATIVE='-dbus' else API_ALTERNATIVE='' fi AC_SUBST(API_ALTERNATIVE) and then in Makefile.am: foo_LDADD = $(top_builddir)/addressbook/libebook$(API_ALTERNATIVE)/libebook.la INCLUDES = ... -I $(top_srcdir)/addressbook/libebook$(API_ALTERNATIVE) --tml _______________________________________________ evolution-hackers maillist - evolution-hackers@lists.ximian.com http://lists.ximian.com/mailman/listinfo/evolution-hackers