New_Package_ConfigDefs.h

Go to the documentation of this file.
00001 
00002 //@HEADER
00003 /*
00004 ************************************************************************
00005 
00006                    New_Package Example Package
00007                Copyright (2004) Sandia Corporation
00008 
00009 Under terms of Contract DE-AC04-94AL85000, there is a non-exclusive
00010 license for use of this work by or on behalf of the U.S. Government.
00011 
00012 This library is free software; you can redistribute it and/or modify
00013 it under the terms of the GNU Lesser General Public License as
00014 published by the Free Software Foundation; either version 2.1 of the
00015 License, or (at your option) any later version.
00016  
00017 This library is distributed in the hope that it will be useful, but
00018 WITHOUT ANY WARRANTY; without even the implied warranty of
00019 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00020 Lesser General Public License for more details.
00021  
00022 You should have received a copy of the GNU Lesser General Public
00023 License along with this library; if not, write to the Free Software
00024 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
00025 USA
00026 Questions? Contact Michael A. Heroux (maherou@sandia.gov) 
00027 
00028 ************************************************************************
00029 */
00030 //@HEADER
00031 
00032 #ifndef NEW_PACKAGE_CONFIGDEFS_H
00033 #define NEW_PACKAGE_CONFIGDEFS_H
00034 
00035 #ifndef __cplusplus
00036 #define __cplusplus
00037 #endif
00038 
00039 /*
00040  * The macros PACKAGE, PACKAGE_NAME, etc, get defined for each package and need to
00041  * be undef'd here to avoid warnings when this file is included from another package.
00042  * KL 11/25/02
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 <New_Package_config.h>
00073 
00074 #ifdef HAVE_MPI
00075 #ifndef EPETRA_MPI
00076 #define EPETRA_MPI
00077 #endif
00078 #endif
00079 
00080 #ifdef HAVE_CSTDLIB
00081 #include <cstdlib>
00082 #else
00083 #include <stdlib.h>
00084 #endif
00085 
00086 #ifdef HAVE_CSTDIO
00087 #include <cstdio>
00088 #else
00089 #include <stdio.h>
00090 #endif
00091 
00092 #ifdef HAVE_CASSERT
00093 #include <cassert>
00094 #else
00095 #include <assert.h>
00096 #endif
00097 
00098 #ifdef HAVE_STRING
00099 #include <string>
00100 #else
00101 #include <string.h>
00102 #endif
00103 
00104 #ifdef HAVE_IOSTREAM
00105 #include <iostream>
00106 #else
00107 #include <iostream.h>
00108 #endif
00109 
00110 /* Every line that begins with 'using' should eventually be dependent
00111    on some check within the configure script */
00112 
00113 
00114 #ifndef TFLOP
00115 #ifdef HAVE_CMATH
00116 #include <cmath>
00117 #else
00118 #include <math.h>
00119 #endif
00120 using namespace std;
00121 #else /* TFLOP defined */
00122 #ifdef HAVE_IOMANIP
00123 #include <iomanip>
00124 #else
00125 #include <iomanip.h>
00126 #endif
00127 #ifdef HAVE_STRING
00128 using std::string;
00129 #endif
00130 #ifdef HAVE_IOSTREAM
00131 using std::istream;
00132 using std::ostream;
00133 using std::cerr;
00134 using std::cout;
00135 using std::endl;
00136 #endif
00137 #endif
00138 
00139 /*-----------------------------------------------------------------------
00140   Must refine the following up to #else HAVE_CONFIG_H is not defined
00141   -----------------------------------------------------------------------*/
00142 
00143 // Define DefultTracebackMode (HAVE_WARNING_MESSAGES and HAVE_FATAL_MESSAGES can be defined
00144 // via the configure script command line)
00145 
00146 #endif /* NEW_PACKAGE_CONFIGDEFS_H */

Generated on Thu Sep 18 12:37:03 2008 for New_Package Package Browser (Single Doxygen Collection) by doxygen 1.3.9.1