Wouldn't a better cross platform way to add paths for gtk be to use something like this:
gtk-config --cflags which gives: -I/sw/include/gtk-1.2 -I/sw/include/glib-1.2 -I/sw/lib/glib/include -I/usr/ X11R6/include and glib-config --libs which gives -L/sw/lib -lglib And then use it like this in the makefile: CC = gcc 'gtk-config --cflags' CFLAGS LIBS = 'glib-config --libs' marc Quoting Martin Costabel <[EMAIL PROTECTED]>: > Jarrett Byrnes wrote: > > > Right, but what is a more general solution? Specifically, I'm having > > problems when running configure scripts and such - and having to always > > add --include-gtk-lib-path=/sw/lib and such gets kind of annoying.... > > Did you read FAQ6.4 ? > http://fink.sourceforge.net/faq/usage-general.php#compile-myself > > OTOH it might be worthwile to prepare a fink package description right > away. Fink does a couple of things automatically for you, and you will > need to keeep some kind of description of your configure options, > patches etc anyway, so why not write them up in the form of a fink > package? > > -- > Martin ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Fink-beginners mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-beginners
