bug-automake
[Top][All Lists]
Advanced

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

follow-up to bug report


From: Michael Carmack
Subject: follow-up to bug report
Date: Fri, 12 Oct 2001 19:25:35 +0000
User-agent: Mutt/1.2.5i

Quick follow-up to the previous bug-report: The attached log is with
VERBOSE turned on during 'make check'. What fixed the problem with 
lex3.test was using 'make CFLAGS="..." check', which is apparently
necessary because the tests did not know where to find the flex
libraries. I first tried 'make CC="..." check', but apparently the CC 
variable is ignored. I don't know if overriding CFLAGS has a 
detrimental effect on the tests, but I do notice that many of the
tests do pass their own CFLAGS by default, which are obviously not
present when I override CFLAGS. However, at least all of the tests
pass this way, which isn't the case when the default CFLAGS is used.

Note that I _did_ try sending CFLAGS to configure, which is the way
I usually do things (rather than passing variables along with the 
'make' command itself), but configure apparently doesn't modify the
Makefile for the tests appropriately. This means that anyone who has
the flex libraries in a non-standard location will probably see
lex3.test fail.

IMO the ideal solution would allow CC to be defined when 'configure'
is run (e.g. CC="gcc -L/path/to/flex" configure --prefix=...), and
configure would fix the Makefiles for the tests appropriately. Again,
overriding CC is probably preferable to CFLAGS because of the numerous 
CFLAGS that the tests themselves appear to define.

Thanks,
m.





Attachment: log-default.0
Description: Text document


reply via email to

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