Alan Coopersmith <alan.coopersm...@oracle.com> writes: > On 12/30/10 09:27 AM, tom fogal wrote: > > Alan Coopersmith <alan.coopersm...@oracle.com> writes: > >> -GLEW_CFLAGS="" > >> -GLEW_LIBS="-lGLEW" > >> dnl Include a fallback path for GLEW for the moment while not all distros > >> dnl have picked up the .pc file. > >> PKG_CHECK_MODULES(GLEW, [glew], [], [ > >> AC_CHECK_HEADER([GL/glew.h], > >> - [], > >> - AC_MSG_ERROR([GLEW required])) > >> + [GLEW_CFLAGS=""], > >> + AC_MSG_ERROR([GLEW required])) > > > > Isn't this going to mean that GLEW's w/o the .pc file cannot be used? > > No, [. . .] > That's why I moved them down to be set in the case that they weren't > already set (in which case PKG_CHECK_MODULES uses them),
Yes, sorry, I read this too quickly, mea culpa. Anyway, LGTM, now. -tom _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev