Delete worthless empty OpenGL tests

Originally committed to SVN as r6067.
This commit is contained in:
Thomas Goyne 2011-12-22 21:19:58 +00:00
parent 395381015e
commit 96bf33a241

View file

@ -356,28 +356,6 @@ fi
AC_SUBST(GL_CFLAGS)
AC_SUBST(GL_LIBS)
#XXX: This needs to be fixed for OSX.
AC_AGI_COMPILE([OpenGL], [opengl], [$GL_CFLAGS], [$GL_LIBS],[
int main(void) {
return 0;
}])
if test "$agi_cv_with_opengl" = "no"; then
AC_MSG_FAILURE([Please install a working OpenGL library.])
fi
AC_AGI_COMPILE([OpenGLU], [openglu], [$GL_CFLAGS], [$GL_LIBS -lGLU],[
#include <GL/glu.h>
int main(void) {
return 0;
}])
if test "$agi_cv_with_openglu" = "no" && test "$build_darwin" != "yes"; then
AC_MSG_FAILURE([Please install a working OpenGL GLU library.])
fi
#######
## cURL
#######