dnl Checks for libraries.
-null_LIBS="$LIBS"
-
AC_SEARCH_LIBS(cos, m)
-base_LIBS="$LIBS"
-
dnl Thread related checks
AC_CHECK_LIB(pthread, pthread_exit)
if test "x$ac_cv_lib_pthread_pthread_exit" != "xyes" \
AC_SEARCH_LIBS(main, nsl)
AC_SEARCH_LIBS(dlclose, dl)
+base_LIBS="$LIBS"
+opengl_LIBS=""
+
dnl check for glut location
AC_CHECK_HEADER(GL/glut.h)
if test "x$ac_cv_header_GL_glut_h" = "xyes"; then