configure: Drop archaic and incompletely used test
authorPhil Miller <mille121@illinois.edu>
Thu, 28 Oct 2010 03:45:48 +0000 (22:45 -0500)
committerPhil Miller <mille121@illinois.edu>
Thu, 4 Nov 2010 21:11:58 +0000 (16:11 -0500)
examples/fem/crack2D/config.C
examples/fem/crack2D/mesh.C
src/arch/win32/conv-autoconfig.h
src/ck-core/init.h
src/langs/bluegene/bigsim_init.C
src/libs/ck-libs/collide/collide_serial.C
src/scripts/configure
src/scripts/configure.in
src/scripts/conv-autoconfig.h.in
src/util/RTH.h

index 9807a706c15c074143fc7ab2b50728c8556f8505..af7b89e0828d97afea1fe40a7f1a107d7b56b293 100644 (file)
@@ -4,12 +4,8 @@
 
 #include "converse.h"
 
-#if CMK_STL_USE_DOT_H  /* Pre-standard C++ */
-#  include <fstream.h>
-#else /* ISO C++ */
-#  include <fstream>
-   using namespace std;
-#endif
+#include <fstream>
+using namespace std;
 
 #include <stddef.h>
 #include "crack.h"
index bbeb9bba47c43050c377a2a8b5cd9082266983c6..b9469222950716f18f6bb37dec3ef56601220ba6 100644 (file)
@@ -3,12 +3,8 @@
  */
 
 #include "converse.h"
-#if CMK_STL_USE_DOT_H  /* Pre-standard C++ */
-#  include <fstream.h>
-#else /* ISO C++ */
-#  include <fstream>
-   using namespace std;
-#endif
+#include <fstream>
+using namespace std;
 
 #include <stddef.h>
 #include "crack.h"
index e33010f9fc40fe9ae0037414bf72ad7da4f88e85..c7bf4c374054a92fbabbd16bbec3497a5c136630 100644 (file)
@@ -14,9 +14,6 @@
 #define CMK_CPP_CAST_LEGAL 1
 #define CMK_CPP_CAST_ILLEGAL 0
 
-#define CMK_STL_USE_DOT_H 0
-#define CMK_STL_DONT_USE_DOT_H 1
-
 #define CMK_NAMESPACES_BROKEN 0
 
 #define CMK_MULTIPLE_DELETE 1
index 1e7bc38fdb48f4421cdf68aafe6ace6b4b5bb182..97dcc68b6d83bc6effabacb35cd1ca6d8c00e0bd 100644 (file)
@@ -2,11 +2,7 @@
 #define _INIT_H
 
 #include "charm.h" // For CkNumPes
-#if CMK_STL_DONT_USE_DOT_H
 #include <new>   // for in-place new operator
-#else
-#include <new.h>   // for in-place new operator
-#endif
 #include "ckhashtable.h"
 
 typedef CkQ<void *> PtrQ;
index d76ff337c8cd46109ebf49da519e6b6269946c25..bc3529f1345ecfe2305b7b349d8ea8bfb1efa051 100644 (file)
 #include <string.h>
 #include <stdlib.h>
 
-#if CMK_STL_USE_DOT_H  /* Pre-standard C++ */
-#  include <fstream.h>
-#  include <iostream.h>
-#else /* ISO C++ */
-#  include <fstream>
-#  include <iostream>
-   using namespace std;
-#endif
+#include <fstream>
+#include <iostream>
+using namespace std;
 
 #include "bigsim_debug.h"
 #undef DEBUGLEVEL
index c1290ffa0e10558c90afcfeccc95d27c48e52485..87759894df7660a17762a6a87e7e9cefebfd3702 100644 (file)
@@ -7,12 +7,8 @@ Utilities for efficiently determining object intersections,
 given a giant list of objects.
 */
 #include <stdio.h>
-#if CMK_STL_USE_DOT_H
-#include <iostream.h>
-#else
 #include <iostream>
 using namespace std;
-#endif
 #include "collide_serial.h"
 #include "charm.h" /* for CkAbort */
 
index 11eb8c182e1af90b248eb76908a87de18f6d22f4..7f4231d000be7548d41f9092637b29c8593520bf 100755 (executable)
@@ -2386,42 +2386,6 @@ cat >>confdefs.h <<_ACEOF
 _ACEOF
 
 
-##### check if the stl headers use .h #####
-cat > $t <<EOT
-#include <iostream>
-void foo(void) { std::cout<<"Hello, world"<<std::endl; }
-EOT
-test_cxx "whether including STL <foo> works" "ok" "no" ""
-
-cat >>confdefs.h <<_ACEOF
-#define CMK_STL_USE_DOT_H $fail
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define CMK_STL_DONT_USE_DOT_H $pass
-_ACEOF
-
-
-#### check if std::vector works ######
-cat > $t <<EOT
-#include <vector>
-
-int foo(void) {
-  std::vector<int> v;
-  v.push_back(2); v.push_back(3);
-  std::vector<int>::iterator it=v.begin();
-  it++;
-  return *it;
-}
-EOT
-test_cxx "whether the std:: names for STL work" "ok" "no" ""
-
-cat >>confdefs.h <<_ACEOF
-#define CMK_USE_STL $pass
-_ACEOF
-
-
 #### check if namespaces can be defined #####
 cat > $t <<EOT
 namespace foo {
index bba5ef2ae96a0102f1a8cc038a821bbc8f090b06..a9073e755c4b97d239c8202bc4163e8ba09db57b 100644 (file)
@@ -598,30 +598,6 @@ EOT
 test_cxx "whether C++ allows declaration of varsize array" "yes" "no" ""
 AC_DEFINE_UNQUOTED(CMK_DECLARE_VARSIZE_ARRAY, $pass, [whether C++ allows declaration of variable sized array])
 
-##### check if the stl headers use .h #####
-cat > $t <<EOT
-#include <iostream>
-void foo(void) { std::cout<<"Hello, world"<<std::endl; }
-EOT
-test_cxx "whether including STL <foo> works" "ok" "no" ""
-AC_DEFINE_UNQUOTED(CMK_STL_USE_DOT_H, $fail, [including STL <foo> does not works])
-AC_DEFINE_UNQUOTED(CMK_STL_DONT_USE_DOT_H, $pass, [including STL <foo> works])
-
-#### check if std::vector works ######
-cat > $t <<EOT
-#include <vector>
-
-int foo(void) {
-  std::vector<int> v;      
-  v.push_back(2); v.push_back(3);
-  std::vector<int>::iterator it=v.begin();
-  it++;
-  return *it;
-}
-EOT
-test_cxx "whether the std:: names for STL work" "ok" "no" ""
-AC_DEFINE_UNQUOTED(CMK_USE_STL, $pass, [whether the std:: names for STL work])
-
 #### check if namespaces can be defined #####
 cat > $t <<EOT
 namespace foo {
index 26397aeb4bae3f50d259ca2782f13e1cba6de9d1..88e9d7ac00411d6e3a8b0eaf1b228fb20c990f29 100644 (file)
 /* whether size_t 64bit */
 #undef CMK_SIZET_64BIT
 
-/* including STL <foo> works */
-#undef CMK_STL_DONT_USE_DOT_H
-
-/* including STL <foo> does not works */
-#undef CMK_STL_USE_DOT_H
-
 /* Allows switching TLS in 32-bit. */
 #undef CMK_TLS_SWITCHING32
 
 /* whether the poll syscall exists */
 #undef CMK_USE_POLL
 
-/* whether the std:: names for STL work */
-#undef CMK_USE_STL
-
 /* disable controlpoint */
 #undef CMK_WITH_CONTROLPOINT
 
index 019b1f6e04a5e15316acbaf844df74eac1fe12fb..0c973dbaaac84c882162d682ce7ddc6e5be9171f 100644 (file)
@@ -12,11 +12,7 @@ Orion Sky Lawlor, olawlor@acm.org, 2003/07/23
 #define __CHARM_RTH_H
 
 #include "pup.h"
-#if CMK_STL_DONT_USE_DOT_H
 #include <new> /* for in-place operator new */
-#else
-#include <new.h>   // for in-place new operator
-#endif
 
 /** All the local variables for RTH routines
    are stored in subclasses of this type.  Keeping