This is the mail archive of the automake-prs@sourceware.cygnus.com 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]

Re: automake/32: check_LTLIBRARIES doesn't work as expected


The following reply was made to PR automake/32; it has been noted by GNATS.

From: Ben Elliston <bje@cygnus.com>
To: Tom Tromey <tromey@cygnus.com>
Cc: automake-gnats@sourceware.cygnus.com
Subject: Re: automake/32: check_LTLIBRARIES doesn't work as expected
Date: Mon, 13 Dec 1999 14:05:35 +1100 (EST)

 > It looks ok to me.  I don't see how "make all" could cause the library
 > to be made with this Makefile.
 
 > Can you send me a self-contained example that demonstrates the
 > failure?
 
 dublin% automake --version
 automake (GNU automake) 1.4
 
 Copyright (C) 1999 Free Software Foundation, Inc.
 This is free software; see the source for copying conditions.  There is NO
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
 PURPOSE.
 
 Written by Tom Tromey <tromey@cygnus.com>
 
 In configure.in, I have:
 
 AC_INIT
 AM_INIT_AUTOMAKE(foo,1.0)
 AC_PROG_CC
 AC_OUTPUT(Makefile)
 
 In Makefile.am, I have:
 
 check_LTLIBRARIES = libfoo.la
 libfoo_a_SOURCES = foo.c
 
 
 I had to touch a whole lot of files to placate Automake's desire to adhere
 to the GNU coding standard, but that's not relevant to the PR.
 
 The output, which I don't expect, is:
 
 Makefile.am:1: invalid variable `check_LTLIBRARIES'
 Makefile.am:2: invalid unused variable name: `libfoo_a_SOURCES'
 
 Ben
 

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