summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2001-11-07 15:57:17 -0500
committerBill Hoffman <bill.hoffman@kitware.com>2001-11-07 15:57:17 -0500
commit3b8eff5552e65b2d673435a0bc4d088de9996268 (patch)
tree76d951a09a4265f368af6899c2b878df8b43c2ad /configure.in
parentb522b84fb4ab32e76668b7e5c3c08bbe7a82fbd0 (diff)
downloadcmake-3b8eff5552e65b2d673435a0bc4d088de9996268.tar.gz
remove template flags from cmake, no ptused, or -instance=static
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in24
1 files changed, 0 insertions, 24 deletions
diff --git a/configure.in b/configure.in
index bea1f969e9..1c67a4fecf 100644
--- a/configure.in
+++ b/configure.in
@@ -72,30 +72,6 @@ fi
AC_SUBST(CMAKE_ANSI_CFLAGS)
AC_SUBST(CMAKE_ANSI_CXXFLAGS)
-# if we are not running g++ then we might need some other flags
-# to get the templates compiled correctly
-CMAKE_TEMPLATE_FLAGS=""
-if test $ac_cv_prog_gxx = no; then
- echo $ac_n "checking whether ${CXX} accepts -ptused -no_prelink""... $ac_c" 1>&6
- echo 'void f(){}' > conftest.cc
- if test -z "`${CXX} -ptused -no_prelink -c conftest.cc 2>&1`"; then
- echo "$ac_t""yes" 1>&6
- CMAKE_TEMPLATE_FLAGS="-ptused -no_prelink"
- else
- echo "$ac_t""no" 1>&6
- fi
- rm -f conftest*
- echo $ac_n "checking whether ${CXX} accepts -instances=semiexplicit""... $ac_c" 1>&6
- echo 'void f(){}' > conftest.cc
- if test -z "`${CXX} -instances=static -c conftest.cc 2>&1`"; then
- echo "$ac_t""yes" 1>&6
- CMAKE_TEMPLATE_FLAGS="-instances=static"
- else
- echo "$ac_t""no" 1>&6
- fi
-fi
-AC_SUBST(CMAKE_TEMPLATE_FLAGS)
-
# check no g++ compilers to see if they have the standard
# ansi stream files (without the .h)
if test $ac_cv_prog_gxx = no; then