bug-automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

automake complains about AM_LDFLAGS


From: Steve ROBBINS
Subject: automake complains about AM_LDFLAGS
Date: Wed, 31 Oct 2001 15:14:58 -0500
User-agent: Mutt/1.3.9i

... even though it is used in the linking step!


With a simple Makefile.am,

        AM_LDFLAGS = -L/foo
        noinst_PROGRAMS = foo
        foo_SOURCES = foo.c

address@hidden --foreign
Makefile.am:1: invalid unused variable name: `AM_LDFLAGS'
address@hidden AM_LDFLAGS Makefile.in 
AM_LDFLAGS = -L/foo
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
address@hidden

I guess automake shouldn't complain if I set a variable
it uses!  ;-)

I have no patch to offer because I don't know whether you want 
to special-case AM_* in check_typos(), or you want to set 
$content_seen{'AM_*'}.


-Steve



reply via email to

[Prev in Thread] Current Thread [Next in Thread]