Makefile.am: invalid unused variable name: xxxxxxx_a_LDFLAGS

Caleb Tennis caleb at aei-tech.com
Sun Feb 23 20:56:02 UTC 2003


On Friday 21 February 2003 11:13, Amilcar do Carmo Lucas wrote:
> autoconf (GNU Autoconf) 2.52
> automake (GNU automake) 1.5
>
> Why do I get this error all over the place on my project?
> Why does automake complain about the LDFLAGS ?
> Do I need to update my autoconf & friends?
> Why is the variable invalid? If it is unused why is it there?
> In some situations it is used but I get the error anyways.
>
>
> src/dataio/Makefile.am:8: invalid unused variable name:
> `libdataio_a_LDFLAGS'

> libdataio_a_LDFLAGS = -all-static
> libdataio_a_LIBADD = -ltip

I believe that LDFLAGS is only useful for programs and shared libraries. Why 
the automake part is putting that in there is beyond me; it is definitely in 
need of some "maintenance".

http://sources.redhat.com/autobook/autobook/autobook_39.html#SEC39

Caleb




More information about the KDevelop-devel mailing list