* Kirk Strauser wrote on Fri, Jun 26, 2009 at 05:09:10PM CEST: > > if INSTALLDOCS > > MAYBEDOCS = doc > > dist_doc_DATA = README > > else > > docdir = > > endif > > SUBDIRS = src $(MAYBEDOCS) > > > >(untested). > > Yielding: > > Makefile.am:5: docdir was already defined in condition TRUE, which > includes condition !INSTALLDOCS ... > configure.ac:5: ... `docdir' previously defined here > make: *** [Makefile.in] Error 1 Ah, sorry about that. You can add docdir = @docdir@ either before the conditional, or in the if-true branch. Of course 'automake -Wall' without -Wno-override will warn about this. Cheers, Ralf _______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf