From 51dff6b537457a17afc9efb9d4aad2271d3acda0 Mon Sep 17 00:00:00 2001 From: ehofman Date: Sat, 12 Jul 2003 09:18:54 +0000 Subject: [PATCH] Don't check for OpenGL libraries without at least including -lm --- configure.ac | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 6c9ff9ab..527f6b62 100644 --- a/configure.ac +++ b/configure.ac @@ -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) -- 2.39.5