Alexander Hansen wrote: [] > configure:16037: checking for libpng >= 0.9.6 > configure:16088: gcc -o conftest -O2 -fno-common -Wall -Wpointer- > arith -Wnested-externs -I/usr/X11R6/include -I/sw/include -framework > Carbon -L/sw/lib conftest.c -lpng -lz -lm >&5
With this combination of -I and -L it is clear that it will find the png.h from X11 and libpng from Fink. There is a line SetCPPFLAGS: -I/usr/X11R6/include in the grace.info file, which has been put there as "fix for those who don't have /usr/include/X11". If one removes this and puts --x-includes etc on the configure line, it even builds for those who don't have xmkmf. I am committing such a version to CVS. Let's see if this builds for everyone. -- Martin ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Fink-devel mailing list [email protected] http://news.gmane.org/gmane.os.apple.fink.devel
