1 2 3 4 5 6 7 8
AC_HAVE_GL( [ AC_CHECK_LIB(GL,glXChooseVisual, [ AC_DEFINE(HAVE_GLXCHOOSEVISUAL, 1, [Define if you have glXChooseVisual()]) ]) ],[] )