summaryrefslogtreecommitdiffstats
path: root/Templates/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'Templates/configure.in')
-rw-r--r--Templates/configure.in8
1 files changed, 8 insertions, 0 deletions
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)