From f93fa4b613bdbbe73c04b10563834defae736657 Mon Sep 17 00:00:00 2001 From: curt Date: Fri, 1 Jun 2001 15:13:04 +0000 Subject: [PATCH] Detect Irix/CC compiler and substitute AR="CC -ar". --- configure.in | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/configure.in b/configure.in index ab539c21..f53cdb8f 100644 --- a/configure.in +++ b/configure.in @@ -35,16 +35,12 @@ AC_PROG_INSTALL AC_PROG_LN_S OS=`uname -s` -if test $OS = "IRIX" -o $OS = "IRIX64"; then - if text $CC = "CC"; then +if test "$OS" = "IRIX" -o "$OS" = "IRIX64"; then + if test "$CXX" = "CC"; then AR="CC -ar" - else - AR="ar" + AC_SUBST(AR) fi -else - AR="ar" fi -AC_SUBST(AR) if echo $includedir | egrep "simgear$" > /dev/null; then echo "includedir is" $includedir "libdir is" $libdir -- 2.39.5