X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=configure.in;h=f53cdb8f050240784578334d5ffe21fcf76d8560;hb=f93fa4b613bdbbe73c04b10563834defae736657;hp=ab539c2156ca02d9f9f21fddb968ca1418ef207d;hpb=06f2dba92c5403fc5563585069d5f017096374eb;p=simgear.git 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