automake
[Top][All Lists]
Advanced

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

@LDFLAGS@ not expanded


From: Jeremy Slade
Subject: @LDFLAGS@ not expanded
Date: Wed, 28 Mar 2001 12:09:49 -0700 (MST)

I have a Makefile.am that looks like this:
--------------------------------------------------  
TESTS = Ruleset-test Ruleset-test.pl

check_PROGRAMS = Ruleset-test
check_SCRIPTS = Ruleset-test.pl

Ruleset_test_SOURCES = Ruleset-test.C
Ruleset_test_CXXFLAGS = -I../src -I$(REUSELIB_INCLUDE)
Ruleset_test_LDADD = ../src/libRuleset.la -L$(REUSELIB_LIB) -lMiscContrib
Ruleset_test_LDFLAGS = -static
--------------------------------------------------

When I do 'make check', I get the following error:

/opt/gcc-2.95.2/bin/g++ -fno-rtti -fno-exceptions @LDFLAGS@ -o Ruleset-test 
Ruleset_test-Ruleset-test.o ../src/.libs/libRuleset.a 
-L/net/hpesjgs/home/jgs/dev/reuselib/lib -lMiscContrib
g++: @LDFLAGS@: No such file or directory


The question is, why is @LDFLAGS@ being put in the Makefile as:
> grep @LDFLAGS@ Makefile
LDFLAGS = @LDFLAGS@

Any idea what I'm doing wrong here? This is autoconf-2.49c,
automake-1.4b, and libtool 1.3.5.

Thanks,
Jeremy
-- 
Jeremy Slade
Hewlett-Packard Company  VLSI Technology Center - http://cpus.hp.com/
address@hidden            (970) 898-7881




reply via email to

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