summaryrefslogtreecommitdiffstats
path: root/Templates
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2001-12-18 22:16:25 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2001-12-18 22:16:25 (GMT)
commitc3f1e86aa92ad5a7b262ab5e50fdfab1a790e5e5 (patch)
tree04052e6e561fa4468c657c93bd0f5a935fcacf63 /Templates
parentccec1419748cb2b9a981e5bfa2dfde52702db163 (diff)
downloadCMake-c3f1e86aa92ad5a7b262ab5e50fdfab1a790e5e5.zip
CMake-c3f1e86aa92ad5a7b262ab5e50fdfab1a790e5e5.tar.gz
CMake-c3f1e86aa92ad5a7b262ab5e50fdfab1a790e5e5.tar.bz2
use cxx compiler to build static libs on sgi
Diffstat (limited to 'Templates')
-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)