On Sat, Apr 06, 2002 at 09:46:27AM +0200, Giuseppe Della Ricca wrote: > Hi ! > > I have PNG installed on my RH7.2 Linux box, but configure fails checking > png.h, with the error (from config.log): > > configure:3308: checking for png.h > configure:3318: gcc -E -lz -lm conftest.c >/dev/null 2>conftest.out > gcc: -lz: linker input file unused since linking not done > gcc: -lm: linker input file unused since linking not done > configure: failed program was: > #line 3313 "configure" > #include "confdefs.h" > #include <png.h> > > The problem seems to be around line 3301 of configure: > CPPFLAGS="$CPPFLAGS -lz -lm" > Changing it to > CPPFLAGS="$CPPFLAGS" > fixes it (but I don't know how to propagate the fix to the right place in > configure.in, sorry ....). >
I think this is fixed now I've inverted two parameters of smr_CHECK_LIB (defined in acinclude.m4). Olivier -- Visit the official FVWM web page at <URL:http://www.fvwm.org/>. To unsubscribe from the list, send "unsubscribe fvwm-workers" in the body of a message to [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]