This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: automake warning using lib_LTLIBRARIES


On Thu, Jan 24, 2002 at 07:32:25PM -0600, Raja R Harinath wrote:
> Raja R Harinath <harinath@cs.umn.edu> writes:
> 
> > Roger Leigh <rl117@york.ac.uk> writes:
> >
> >> I'm getting this warning from automake:
> >>
> >> roger@whinlatter:~/gimp-print/newbuild$ automake
> >> automake: both `configure.ac' and `configure.in' present: ignoring `configure.in'
> >> automake: src/main/Makefile.am: `libgimpprint.la' is already going to be installed in `lib'
> > [snip]
> >> ## Programs
> >>
> >> EXTRA_SCRIPTS = gimpprint-config
> >> EXTRA_LTLIBRARIES = libgimpprint.la
> >   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> >
> > My guess is that it complains about the EXTRA_LTLIBRARIES line.  You
> > don't need that line, since automake is supposed to figure it out
> > itself.  I'm not sure whether it's a bug or not.
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> I meant, I'm not sure whether the warning above is a bug or not.

I thought that if you defined something conditionally, you were supposed
to put it in an EXTRA_PRIMARY definition too, so that automake knew the
full set of stuff that might be built.

After all, lib_LTLIBRARIES might just as easily be an @libobject@ autoconf
substitution, where automake won't know what might be built.  Or, should
EXTRA_PRIMARY only be used for this type of conditional?

Regards,
Roger

-- 
Roger Leigh
                ** Registration Number: 151826, http://counter.li.org **
                Need Epson Stylus Utilities? http://gimp-print.sourceforge.net/
                GPG Public Key: 0x25BFB848 available on public keyservers

Attachment: msg00159/pgp00000.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]