From 3b8eff5552e65b2d673435a0bc4d088de9996268 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Wed, 7 Nov 2001 15:57:17 -0500 Subject: remove template flags from cmake, no ptused, or -instance=static --- configure | 33 ++++----------------------------- 1 file changed, 4 insertions(+), 29 deletions(-) (limited to 'configure') diff --git a/configure b/configure index 2f99346889..70e1aec480 100755 --- a/configure +++ b/configure @@ -957,35 +957,11 @@ fi -# 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 - - # 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 echo $ac_n "checking ansi standard C++ stream headers ""... $ac_c" 1>&6 -echo "configure:989: checking ansi standard C++ stream headers " >&5 +echo "configure:965: checking ansi standard C++ stream headers " >&5 rm -rf conftest.* cat > conftest.cc < @@ -1004,7 +980,7 @@ fi # check to see if stl is in the std namespace if test $ac_cv_prog_gxx = no; then echo $ac_n "checking ansi standard namespace support ""... $ac_c" 1>&6 -echo "configure:1008: checking ansi standard namespace support " >&5 +echo "configure:984: checking ansi standard namespace support " >&5 rm -rf conftest.* cat > conftest.cc < @@ -1024,7 +1000,7 @@ fi # check to see if for scoping is supported if test $ac_cv_prog_gxx = no; then echo $ac_n "checking ansi for scope support ""... $ac_c" 1>&6 -echo "configure:1028: checking ansi for scope support " >&5 +echo "configure:1004: checking ansi for scope support " >&5 rm -rf conftest.* cat > conftest.cc <&6 -echo "configure:1050: checking for $ac_word" >&5 +echo "configure:1026: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_RUNMAKE'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1220,7 +1196,6 @@ s%@CXX@%$CXX%g s%@CMAKE_ROOT_DIR@%$CMAKE_ROOT_DIR%g s%@CMAKE_ANSI_CFLAGS@%$CMAKE_ANSI_CFLAGS%g s%@CMAKE_ANSI_CXXFLAGS@%$CMAKE_ANSI_CXXFLAGS%g -s%@CMAKE_TEMPLATE_FLAGS@%$CMAKE_TEMPLATE_FLAGS%g s%@RUNMAKE@%$RUNMAKE%g CEOF -- cgit v1.2.1