--- mk/autoconf/ax_check_gl.m4.old 2011-06-09 13:59:57.263672275 +0200 +++ mk/autoconf/ax_check_gl.m4 2011-06-09 14:00:31.552853456 +0200 @@ -49,6 +49,8 @@ fi if test -n "$x_libraries"; then GL_LIBS="-L${x_libraries} -lX11 ${GL_LIBS}" + else + GL_LIBS="-lX11 ${GL_LIBS}" fi fi