]> git.mxchange.org Git - simgear.git/commitdiff
Don't check for OpenGL libraries without at least including -lm
authorehofman <ehofman>
Sat, 12 Jul 2003 09:18:54 +0000 (09:18 +0000)
committerehofman <ehofman>
Sat, 12 Jul 2003 09:18:54 +0000 (09:18 +0000)
configure.ac

index 6c9ff9abc84a093329e10a08e8e8dbd267854985..527f6b62bc7695b0fe9b57bb7bd029128521f059 100644 (file)
@@ -46,8 +46,8 @@ AR="ar"
 ARFLAGS="cru"
 case "${host}" in
 *-*-irix*)
-    if test "$CXX" = "CC"; then
-        AR="CC -ar"
+    if test "x$CXX" = "xCC" -o "x$CXX" = "xccache CC"; then
+        AR="$CXX -ar"
         ARFLAGS="-o"
         CXXFLAGS="$CXXFLAGS -I$(top_srcdir)/simgear/compatibility"
     fi
@@ -178,7 +178,6 @@ dnl check for some default libraries
 AC_SEARCH_LIBS(cos, m)
 
 base_LIBS="$LIBS"
-LIBS=""
 
 dnl check for glut location
 AC_CHECK_HEADER(GL/glut.h)