00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030 #ifndef EPETRAEXT_CONFIGDEFS_H
00031 #define EPETRAEXT_CONFIGDEFS_H
00032
00033 #ifndef __cplusplus
00034 #define __cplusplus
00035 #endif
00036
00037 #ifdef HAVE_CONFIG_H
00038
00039
00040
00041
00042
00043
00044 #ifdef PACKAGE
00045 #undef PACKAGE
00046 #endif
00047
00048 #ifdef PACKAGE_NAME
00049 #undef PACKAGE_NAME
00050 #endif
00051
00052 #ifdef PACKAGE_BUGREPORT
00053 #undef PACKAGE_BUGREPORT
00054 #endif
00055
00056 #ifdef PACKAGE_STRING
00057 #undef PACKAGE_STRING
00058 #endif
00059
00060 #ifdef PACKAGE_TARNAME
00061 #undef PACKAGE_TARNAME
00062 #endif
00063
00064 #ifdef PACKAGE_VERSION
00065 #undef PACKAGE_VERSION
00066 #endif
00067
00068 #ifdef VERSION
00069 #undef VERSION
00070 #endif
00071
00072 #include <EpetraExt_config.h>
00073
00074 #ifdef HAVE_CSTDLIB
00075 #include <cstdlib>
00076 #elif defined(HAVE_STDLIB_H)
00077 #include <stdlib.h>
00078 #endif
00079
00080 #ifdef HAVE_CSTDIO
00081 #include <cstdio>
00082 #endif
00083 #if defined(HAVE_STDIO_H)
00084 #include <stdio.h>
00085 #endif
00086
00087 #ifdef HAVE_CASSERT
00088 #include <cassert>
00089 #elif defined(HAVE_ASSERT_H)
00090 #include <assert.h>
00091 #endif
00092
00093 #ifdef HAVE_STRING
00094 #include <string>
00095 #elif defined(HAVE_STRING_H)
00096 #include <string.h>
00097 #endif
00098
00099 #ifdef HAVE_IOSTREAM
00100 #include <iostream>
00101 #elif defined(HAVE_IOSTREAM_H)
00102 #include <iostream.h>
00103 #endif
00104
00105 #ifdef HAVE_ALGORITHM
00106 #include <algorithm>
00107 #elif defined(HAVE_ALGO_H)
00108 #include <algo.h>
00109 #elif defined(HAVE_ALGORITHM_H)
00110 #include <algorithm.h>
00111 #endif
00112
00113
00114
00115
00116 #ifndef TFLOP
00117
00118 #ifdef HAVE_CMATH
00119 #include <cmath>
00120 #else
00121 #include <math.h>
00122 #endif
00123
00124 using namespace std;
00125
00126 #else
00127
00128 #ifdef HAVE_IOMANIP
00129 #include <iomanip>
00130 #else
00131 #include <iomanip.h>
00132 #endif
00133
00134 #ifdef HAVE_STRING
00135 using std::string;
00136 #endif
00137
00138 #ifdef HAVE_IOSTREAM
00139 using std::istream;
00140 using std::ostream;
00141 using std::cerr;
00142 using std::cout;
00143 using std::endl;
00144 #endif
00145
00146 #endif
00147
00148
00149
00150
00151
00152 #else
00153
00154 #ifndef __cplusplus
00155 #define __cplusplus
00156 #endif
00157
00158 #if defined(SGI) || defined(SGI64) || defined(SGI32) || defined(CPLANT)
00159
00160 #include <stdlib.h>
00161 #include <stdio.h>
00162 #include <assert.h>
00163 #include <iostream>
00164 #include <math.h>
00165 #include <string>
00166 using namespace std;
00167
00168 #elif defined(TFLOP)
00169
00170 #include <stdlib.h>
00171 #include <stdio.h>
00172 #include <assert.h>
00173 #include <string>
00174 using std::string;
00175 #include <iostream>
00176 #include <iomanip>
00177 using std::istream;
00178 using std::ostream;
00179 using std::cerr;
00180 using std::cout;
00181 using std::endl;
00182
00183 #else
00184
00185 #include <cstdlib>
00186 #include <cstdio>
00187 #include <cassert>
00188 #include <iostream>
00189 #include <cmath>
00190 #include <string>
00191 using namespace std;
00192
00193 #endif
00194
00195 #endif
00196
00197 #endif