On Thu, 2005-12-15 at 15:25 -0800, Bruce Korb wrote: > Daryl Lee wrote: > > I am autoconfiscating a project involving other developers. I need a > > portable way of finding a header (it's an OpenGL header, glut.h, but > > that's just a specific example). On my machine, it's > > in /usr/include/GL, but on other machines it may be elsewhere, > > like /usr/include. The only thing I know to do is just list them in > > AM_CPPFLAGS, and find them by trial and error. That seems a tad kludgy > > to me. I expect I'll have a similar issue with libraries once I get > > over this hurdle. > > Hi Daryl, > > There are two conventions generally available: > > ${package}-config cflags ; ${package}-config link|ldflags > > sometimes, those arguments have a hyphen or two in front of them. > See if OpenGL has one of these. More recently, "pkg-config" > has started becoming popular, but for now it must be a backup > solution: > http://www.freedesktop.org/software/pkgconfig/ And, of course, if no ${package}.pc file exists, I'm out of luck, yes? -- Daryl Lee Open the Present--It's a Gift. _______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf