diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2001-11-07 20:57:17 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2001-11-07 20:57:17 (GMT) |
commit | 3b8eff5552e65b2d673435a0bc4d088de9996268 (patch) | |
tree | 76d951a09a4265f368af6899c2b878df8b43c2ad /configure.in | |
parent | b522b84fb4ab32e76668b7e5c3c08bbe7a82fbd0 (diff) | |
download | CMake-3b8eff5552e65b2d673435a0bc4d088de9996268.zip CMake-3b8eff5552e65b2d673435a0bc4d088de9996268.tar.gz CMake-3b8eff5552e65b2d673435a0bc4d088de9996268.tar.bz2 |
remove template flags from cmake, no ptused, or -instance=static
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/configure.in b/configure.in index bea1f96..1c67a4f 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 |