From 02bb6a632589e7587f8e866df40814b8fb4ab8b7 Mon Sep 17 00:00:00 2001 From: ehofman Date: Mon, 7 Jul 2003 11:26:48 +0000 Subject: [PATCH] Don't link agains OpenGL libraries when it's not needed --- configure.ac | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index 27091e028..79dff6c37 100644 --- a/configure.ac +++ b/configure.ac @@ -198,12 +198,8 @@ esac 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" \ @@ -229,6 +225,9 @@ AC_SEARCH_LIBS(socket, socket) 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 -- 2.39.5