Robert Collins wrote:
CFLAGS="-Werror" may not have optimisations enabled in gcc -> many
warnings are disabled. Can you reproduce with CFLAGS="-Werror -O2" ?
I haven't tried this, but I just wanted to say: I think a lot of the
AM_PATH_CHECK macro can be cleaned up or eliminated. Probably the other
things in /usr/share/aclocal can help with that, or a "best practice"
question could be sent to the autoconf list---there might also be hints
in the autoconf manual about what to do. Clearly not every library
needs such a macro, given how few macros actually are in
/usr/share/aclocal/.
For instance, using
libcheck_la_LDFLAGS = -version-info x:y:z
or some such thing in Check's Makefile.am is probably the right way to
manage interface compatability (note that x:y:z here is not 0.9.3 ---
adl gives some details about when to bump interface numbers in his
excellent autotools tutorial).
I noticed that check.m4 is in fact very similar to
/usr/share/aclocal/esd.m4, and esd is probably more stable than Check.
I wonder if they both came from some common template.
In general, looking for clean solutions or rewrites rather than quick
hacks (that in reality aren't so quick because they require a lot of
discussion) is probably the best way to handle Check at this point since
what I've seen so far of it hasn't aged gracefully.
Cheers,
Chris
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]