From fec7c62b17d69478fe55a86b38a0e9951666e135 Mon Sep 17 00:00:00 2001 From: ehofman Date: Mon, 7 Jul 2003 11:27:10 +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 a1a8c79d..ec37ef62 100644 --- a/configure.ac +++ b/configure.ac @@ -134,12 +134,8 @@ esac dnl Checks for libraries. -null_LIBS="$LIBS" - AC_SEARCH_LIBS(cos, m) -base_LIBS="$LIBS" - dnl Thread related checks AC_CHECK_HEADER(pthread.h) AC_CHECK_LIB(pthread, pthread_exit) @@ -188,6 +184,9 @@ else fi fi +base_LIBS="$LIBS" +LIBS="" + dnl check for OpenGL related libraries case "${host}" in *-*-cygwin* | *-*-mingw32*) -- 2.39.5