automake
[Top][All Lists]
Advanced

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

Re: ansi3.test


From: Akim Demaille
Subject: Re: ansi3.test
Date: 20 Feb 2001 15:47:53 +0100
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley)

Stephen Torri <address@hidden> writes:

> === Running test ./ansi3.test
> Makefile.am:1: installing `./ansi2knr.c'
> Makefile.am:1: installing `./ansi2knr.1'
> checking for a BSD compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for mawk... no
> checking for gawk... gawk
> checking whether make sets ${MAKE}... yes
> checking for gcc... gcc
> checking for object suffix... o
> checking for executable suffix...
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking how to run the C preprocessor... gcc -E
> checking for style of include used by make... #
> checking dependency style of gcc... gcc
> checking for gcc option to accept ANSI C... none needed
> checking for function prototypes... yes
> checking for ANSI C header files... yes
> checking for string.h... yes
> configure: creating ./config.status
> config.status: creating Makefile
> make[3]: Entering directory `/usr/src/automake/tests/testSubDir'
> 
> gcc -DPACKAGE=\"hello\" -DVERSION=\"0.23\" -DPROTOTYPES=1 -DSTDC_HEADERS=1
> -DHAVE_STRING_H=1 -I. -I.  -g -O2 -c ansi2knr.c
> 
> gcc  -g -O2  @LDFLAGS@ -o ansi2knr ansi2knr.o
> gcc: @LDFLAGS@: No such file or directory

Huh???  What version of autoconf are you using?  Could you try this?

src/am/tests % make check TESTS=ansi3.test                       nostromo 15:45
make  check-TESTS
make[1]: Entering directory `/mnt/nostromo/home/lrde/prof/akim/src/am/tests'
PASS: ansi3.test
==================
All 1 tests passed
==================
make[1]: Leaving directory `/mnt/nostromo/home/lrde/prof/akim/src/am/tests'


src/am/tests % grep LDFLAGS testSubDir/Makefile testSubDir/config.status 
testSubDir/Makefile:LDFLAGS = 
testSubDir/Makefile:hello_LDFLAGS = 
testSubDir/Makefile:LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) 
$(LDFLAGS) -o $@
testSubDir/Makefile:    $(LINK) $(hello_LDFLAGS) $(hello_OBJECTS) 
$(hello_LDADD) $(LIBS)
testSubDir/config.status:address@hidden@%%g

> make[3]: *** [ansi2knr] Error 1
> make[3]: Leaving directory `/usr/src/automake/tests/testSubDir'
> FAIL: ansi3.test



reply via email to

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