Hi, I have a Makefile.am containing
line 15: noinst_LTLIBRARIES = libgettextlib.la line 268: lib_LTLIBRARIES = libgettextlib.la automake-1.9.6 gives an error on it: gnulib-lib/Makefile.am:15: libgettextlib.la multiply defined in condition TRUE gnulib-lib/Makefile.am:15: `libgettextlib.la' should be built for `noinst' ... gnulib-lib/Makefile.am:268: ... and should also be installed in `lib'. gnulib-lib/Makefile.am:268: Libtool libraries can be built for only one destination. make: *** [Makefile.in] error 1 This error is unjustified: it could simply ignore the noinst_LTLIBRARIES line. The comment in automake's source says # We reject libraries which are installed in several places # in the same condition, because we can only specify one # `-rpath' option. and indeed for linking to not-installed libraries no -rpath option is needed. You could say: remove the noinst_LTLIBRARIES line yourself! Well, this situation occurs with gnulib-tool, which generates the noinst_LTLIBRARIES. I would need to add an extra option to gnulib-tool, to have it omit the noinst_LTLIBRARIES line, just to overcome this pointless automake error. Bruno