From: ehofman Date: Mon, 7 Jul 2003 11:27:10 +0000 (+0000) Subject: Don't link agains OpenGL libraries when it's not needed X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=fec7c62b17d69478fe55a86b38a0e9951666e135;p=simgear.git Don't link agains OpenGL libraries when it's not needed --- 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*)