diff --git a/Templates/configure.in b/Templates/configure.in index 88ae78c79..73ebe64f0 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)