From c3f1e86aa92ad5a7b262ab5e50fdfab1a790e5e5 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Tue, 18 Dec 2001 17:16:25 -0500 Subject: use cxx compiler to build static libs on sgi --- Templates/configure.in | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Templates/configure.in b/Templates/configure.in index 88ae78c..73ebe64 100644 --- a/Templates/configure.in +++ b/Templates/configure.in @@ -669,6 +669,14 @@ case $system in CMAKE_AR="$CXX" CMAKE_AR_ARGS="-xar -o" fi + IRIX*) + if test $ac_cv_prog_gxx = yes; then + : + else + echo "Using $CXX -xar -o for creating .a libraries" + CMAKE_AR="$CXX" + CMAKE_AR_ARGS="-ar -o" + fi esac AC_SUBST(CMAKE_AR) AC_SUBST(CMAKE_AR_ARGS) -- cgit v0.12