summaryrefslogtreecommitdiffstats
path: root/Templates/cxxconfigure.in
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2002-04-04 16:01:41 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2002-04-04 16:01:41 (GMT)
commit04d53a38659ca8baa893f3c6c8715c0d150eaddf (patch)
tree6cb2c428b6f58df5b13aa7293365c2eae5ea821b /Templates/cxxconfigure.in
parent5d850d2a5683d788a7d7eb8f80259d05676de4c6 (diff)
downloadCMake-04d53a38659ca8baa893f3c6c8715c0d150eaddf.zip
CMake-04d53a38659ca8baa893f3c6c8715c0d150eaddf.tar.gz
CMake-04d53a38659ca8baa893f3c6c8715c0d150eaddf.tar.bz2
ENH: separate the ar program for cxx and c
Diffstat (limited to 'Templates/cxxconfigure.in')
-rw-r--r--Templates/cxxconfigure.in16
1 files changed, 8 insertions, 8 deletions
diff --git a/Templates/cxxconfigure.in b/Templates/cxxconfigure.in
index d1a891e..b591237 100644
--- a/Templates/cxxconfigure.in
+++ b/Templates/cxxconfigure.in
@@ -149,8 +149,8 @@ AC_SUBST(CMAKE_NO_ANSI_FOR_SCOPE)
# find make to use to build cmake, prefer gmake
AC_PATH_PROGS(CMAKE_AR_TMP, ar)
-CMAKE_AR="$CMAKE_AR_TMP"
-CMAKE_AR_ARGS="cr"
+CMAKE_CXX_AR="$CMAKE_AR_TMP"
+CMAKE_CXX_AR_ARGS="cr"
# if on SunOS and not using gXX then use the compiler to make .a libs
case $system in
SunOS-5*)
@@ -158,8 +158,8 @@ case $system in
:
else
echo "Using $CXX -xar -o for creating .a libraries"
- CMAKE_AR="$CXX"
- CMAKE_AR_ARGS="-xar -o"
+ CMAKE_CXX_AR="$CXX"
+ CMAKE_CXX_AR_ARGS="-xar -o"
fi
;;
IRIX*)
@@ -167,13 +167,13 @@ case $system in
:
else
echo "Using $CXX -xar -o for creating .a libraries"
- CMAKE_AR="$CXX"
- CMAKE_AR_ARGS="-ar -o"
+ CMAKE_CXX_AR="$CXX"
+ CMAKE_CXX_AR_ARGS="-ar -o"
fi
;;
esac
-AC_SUBST(CMAKE_AR)
-AC_SUBST(CMAKE_AR_ARGS)
+AC_SUBST(CMAKE_CXX_AR)
+AC_SUBST(CMAKE_CXX_AR_ARGS)
CMAKE_COMPILER_IS_GNUGXX=0
if test $ac_cv_prog_gxx = yes; then