Don't skip the OS X OpenGL check when X is detected

Originally committed to SVN as r6507.
This commit is contained in:
Thomas Goyne 2012-02-23 19:27:32 +00:00
parent ea130d9af2
commit f54d381f94
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ AS_IF([test "X$ax_cv_check_gl_libgl" != Xno],
[ax_cv_check_gl_libgl=no])])])
LIBS=$ax_save_LIBS
AS_IF([test "X$ax_cv_check_gl_libgl" = Xno -a X$no_x = Xyes],
AS_IF([test "X$ax_cv_check_gl_libgl" = Xno],
[LDFLAGS="$ax_save_LDFLAGS -framework OpenGL"
AC_LINK_IFELSE([AX_CHECK_GL_PROGRAM],
[ax_cv_check_gl_libgl='-framework OpenGL'])])