Hello Bruno, * Bruno Haible wrote on Mon, Aug 21, 2006 at 05:59:09PM CEST: > > In the case I'm presenting, it's different. There is no $(noinstdir). > One specification gives no installation directory, and the other one > gives 1 installation directory. 0 + 1 < 2. There is no conflict.
But this would still prevent automake to warn the user when he used noinst_LTLIBRARIES = libfoo.la lib_LTLIBRARIES = libfoo.la but really meant to use if COND_FOO noinst_LTLIBRARIES = libfoo.la else lib_LTLIBRARIES = libfoo.la endif or EXTRA_LTLIBRARIES = libfoo.la noinst_LTLIBRARIES = @substituted1@ lib_LTLIBRARIES = @substituted2@ I'm sorry but I still fail to see the added value. gnulib-tool could be made smart enough to output the right thing in the first place, or let configure compute where to put the library. Cheers, Ralf